/usr/lib/s9fes/help/unix-time-to-time is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | S9 LIB (unix-time->time integer) ==> time-list
(load-from-library "unix-time-to-time.scm")
UNIX-TIME->TIME converts the number of seconds since the Unix
epoch specified in INTEGER to a time list, which has the following
members:
(weekday ; 0..6, where 0 = Monday
year ; 1970..2038
month ; 1..12
day ; 1..31, depends on month
hour ; 0..23
minute ; 0..59
second) ; 0..59
(unix-time->time 1272178879) ==> (6 2010 4 25 7 1 19)
|