8.5.11. Date and Time

(time)
(time->string k)
(time->string k boolean)

time returns the number of seconds since 1970-01-01 00:00:00 GMT as an integer.

time->string converts an integer representation as returned by time of the time and date into a string in the format of ISO 8601.

If the boolean argument is present and true, then the string representation shall be in GMT; otherwise the string shall be in local time.

(time<? string1 string2)
(time>? string1 string2)
(time<=? string1 string2)
(time>=? string1 string2)

These procedures impose a total ordering on the set of strings that represent dates and times in ISO 8601 format. It shall be an error if any argument does not represent a date or time in ISO 8601 format.