zonedDateTime property

String get zonedDateTime

Formats the current number as a complete date-time string with timezone information in 'yyyy-MM-ddTHH:mm:ssZ' format.

Returns a string representation of the complete date and time with timezone information.

Implementation

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