chickadee » posix » seconds->local-time

seconds->local-time #!optional SECONDSprocedure

Breaks down the time value represented in SECONDS into a 10 element vector of the form #(seconds minutes hours mday month year wday yday dstflag timezone), in the following format:

seconds (0)
the number of seconds after the minute (0 - 59)
minutes (1)
the number of minutes after the hour (0 - 59)
hours (2)
the number of hours past midnight (0 - 23)
mday (3)
the day of the month (1 - 31)
month (4)
the number of months since january (0 - 11)
year (5)
the number of years since 1900
wday (6)
the number of days since Sunday (0 - 6)
yday (7)
the number of days since January 1 (0 - 365)
dstflag (8)
a flag that is true if Daylight Saving Time is in effect at the time described.
timezone (9)
the difference between UTC and the latest local standard time, in seconds west of UTC.

SECONDS defaults to the value of (current-seconds).