Previous: , Up: Public API   [Contents][Index]


2.7 Clocks

Default: *clock*

The *clock* special variable and the following generic functions are exposed so that applications may re-define the current time or date as required. This can be used for testing or to support alternate clocks.

The currently supported values are:

Function: clock-now (clock)

Specialize this generic function to re-define the present moment

Function: clock-today (clock)

Specialize this generic function to re-define the present day