zonedDateTime property

String zonedDateTime

Formats the DateTime into a complete date-time string with timezone information.

Example:

print(DateTime.now().zonedDateTime); // Output: "2023-04-07T12:00:00.000Z"

Implementation

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