Go to the first, previous, next, last section, table of contents.


System Time

No matter what operating system Jade is running on it always an integer to store a time value. Generally this will be the number of seconds since some previous date.

The only thing a Lisp program is allowed to assume about a time value is that as time passes the time value increases. This means that it's possible to compare two time values and know which is the newer.

Function: current-time
Returns an integer denoting the current time.

(current-time)
    => 780935736

Function: current-time-string
This function returns a string stating the current time and date in a fixed format. An example of the format is,

Fri Sep 30 15:20:56 1994

Each field will always be in the same place, for example,

Thu Sep  1 12:13:14 1994
(current-time-string)
    => "Fri Sep 30 15:20:56 1994"


Go to the first, previous, next, last section, table of contents.