iso8601 property

String get iso8601

Formats the current number as a date-time string in ISO 8601 format 'yyyy-MM-ddTHH:mm:ss'.

Returns a string representation of the date and time in ISO 8601 format.

Implementation

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