date (original) (raw)

8.15

1 DateπŸ”—β„Ή

Opaque datetype representing an exact date/time moment.

Opaque datatype of a time value.

current-date-string-iso-8601 : (-> String)

The current date/time as an ISO-8601 formatted string.

iso-8601-date-string->date : (-> String Date)

Parse a ISO-8601 formatted string into an Date value.

current-date-string-rfc-2822 : (-> String)

The current date/time as an RFC-2822 formatted string.

(current-date tz-offset) β†’ Date
tz-offset : Integer

Returns the Date for the current UTC time for the given TZ-OFFSET integer value. Typed wrapper around SRFI/19’s current-date.

(local-current-date) β†’ Data

Returns the Date for the current local TZ.

(date->time-utc d) β†’ Time
d : Date

Returns the time in UTC for the given date.

Returns the current time in UTC.

(time= t1 t2) β†’ Boolean
t1 : Time
t2 : Time

{ Time equality function. }

(time< t1 t2) β†’ Boolean
t1 : Time
t2 : Time

{ Time comparison function. }

(time<= t1 t2) β†’ Boolean
t1 : Time
t2 : Time

{ Time comparison function. }

(time> t1 t2) β†’ Boolean
t1 : Time
t2 : Time

{ Time comparison function. }

(time>= t1 t2) β†’ Boolean
t1 : Time
t2 : Time

{ Time comparison function. }

(local-zone-offset) β†’ Integer

Date time zone offset for the local time zone.