DateDateTimeExtension extension

on

Methods

toUTCIso8601StringNoMSUS() String

Available on DateTime, provided by the DateDateTimeExtension extension

Dart's DateTime.toIso8601String function includes milliseconds and microseconds. Many backend systems don't support this, and for the most part, time information stored is fine if stored with second accuracy only.