Iso8601ToUnixTime Iso8601ToUnixTime — converts from ISO 8601 time to Unix time.
Iso8601ToUnixTime (isostring)
isostringA string in ISO 8601 date/time format.
A floating point number as a UTC UNIX timestamp.
This function takes a string in ISO 8601 date format and returns a floating point number as a UNIX time. UNIX time is the number of seconds since January 1, 1970 00:00:00 UTC. This function preserves accuracy to 1 millisecond. The input string must be in a valid ISO 8601. The UTC format is described in UnixTimeToIso8601.
ISO 8601 time zone specifiers are accepted. For example:
UTC time: 2020-05-23T12:45:23.692Z
Explicit time zone:
2020-05-23T08:45:23.692-04:00
—>Iso8601ToUnixTime("2020-05-23T08:45:23.692-04:00")1590237923.6919999123 —>Iso8601ToUnixTime("2020-05-23T12:45:23.692Z")1590237923.6919999123