DateTimeExt extension

a extension of DateTime

on

Methods

toIso8601OffsetString() String
Returns a string in ISO8601 format with respect to offset times other than UTC and with an offset according to the locale.
toIso8601UtcString() String
Converts to UCT yyyy-MM-ddTHH:mm:ss.mmmuuZ format and returns a string.