day->time

Name

day->time -- Construct a time from a day and seconds within the day.

Type: function

Synopsis

day->time( day sec, t);

Arguments

day

An instance of <fixnum>

sec

An instance of <fixnum>

Return Values

t

An instance of <time>

Description

Construct a time based on the day and the seconds (CUT) within the day. The day is a number based at 1/1/1, so that 1/1/70 is day number 719163. [doesn't work if day < 719163, because times are unix based]