date
1 Date
Date
Time
current-date-string-iso-8601
iso-8601-date-string->date
current-date-string-rfc-2822
current-date
local-current-date
date->time-utc
current-time
time=
time<
time<=
time>
time>=
local-zone-offset
7.0

date

Raymond Racine <[email protected]>

1 Date

 (require date) package: date

Type

Date

Opaque datetype representing an exact date/time moment.

Type

Time

Opaque datatype of a time value.

Procedure

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

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

Procedure

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

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

Procedure

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

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

procedure

(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.

procedure

(local-current-date)  Data

Returns the Date for the current local TZ.

procedure

(date->time-utc d)  Time

  d : Date
Returns the time in UTC for the given date.

procedure

(current-time)  Time

Returns the current time in UTC.

procedure

(time= t1 t2)  Boolean

  t1 : Time
  t2 : Time
{ Time equality function. }

procedure

(time< t1 t2)  Boolean

  t1 : Time
  t2 : Time
{ Time comparison function. }

procedure

(time<= t1 t2)  Boolean

  t1 : Time
  t2 : Time
{ Time comparison function. }

procedure

(time> t1 t2)  Boolean

  t1 : Time
  t2 : Time
{ Time comparison function. }

procedure

(time>= t1 t2)  Boolean

  t1 : Time
  t2 : Time
{ Time comparison function. }

procedure

(local-zone-offset)  Integer

Date time zone offset for the local time zone.