dmy property

String get dmy

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

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

Implementation

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