SPL File iso8601.spl

Content

Functions

Functions

timestamp fromIso8601ToTimestamp(rstring date, int32 mid)

Get a SPL timestamp from a full ISO 8601 date and a machine identifier. A full ISO 8061 date looks like 2015-11-24T14:54:19.427+00:00.

Parameters

  • date: ISO8601 formatted date.
  • mid: Machine identifier.

Returns

  • timestamp representing date and mid.

timestamp fromIso8601ToTimestamp(rstring date)

Get a SPL timestamp from a full ISO 8601 date. The machine identifier is set to zero in the returned timestamp. A full ISO 8061 date looks like 2015-11-24T14:54:19.427+00:00.

Parameters

  • date: ISO8601 formatted date.

Returns

  • timestamp representing date with a machine identifier of zero.