ymd property

String get ymd

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

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

Implementation

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