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