dayMonth property

String get dayMonth

Formats the current number as a date string in 'dd-MM' format.

Returns a string representation of the date in 'dd-MM' format.

Implementation

String get dayMonth => DateFormats.dayMonth.format(toDateTime);