iso801 property

String get iso801

Variation of the ISO 8601 standard, which is used by HTML for its date and time strings.

The format of date and time here is yyyy-MM-ddTHH:mm:ssZ, which represents a global date and time string in HTML. For example, 1901-01-01T00:00Z means midnight UTC on January 1, 1901.

Implementation

/// The format of date and time here is yyyy-MM-ddTHH:mm:ssZ, which represents a global date and time string in HTML. For example, 1901-01-01T00:00Z means midnight UTC on January 1, 1901.
String get iso801 => DateHelper().ISO_801(timestamp ?? -1);