Next: POSIX I/O utilities, Previous: POSIX file system access, Up: POSIX interface
A time record contains an integer that represents a time as the
number of seconds since the Unix epoch (00:00:00 GMT, January 1, 1970).
These procedures for operating on time records are in the structures
posix-time
& posix
.
Make-time
¤t-time
construct time records;make-time
uses the number of seconds that is its argument, andcurrent-time
uses the current number of seconds since the epoch.Time?
is the disjoint type predicate for time objects.Time-seconds
returns the number of seconds recorded by time.
Various time comparators.
Time=?
returns true if its two arguments represent the same number of seconds since the epoch.Time<?
,time<=?
,time>?
, &time>=
return true if their arguments are monotonically increasing, monotonically non-decreasing, monotonically decreasing, or monotonically non-increasing, respectively.