dayMonth property
String
get
dayMonth
Formats the DateTime into 'dd-MM' format.
Example:
print(DateTime.now().dayMonth); // Output: "07-04"
Implementation
String get dayMonth => DateFormats.dayMonth.format(this);