[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] [ANNOUNCE:] leafnode-1.9.12
On Sat, 2000-04-01 2000 20:03 -0500
Joerg Dietrich <joerg@xxxxxxxxxxxx> wrote:
> - Does time( NULL ) return seconds since the epoch in local time?
> (Yes according to MA)
No. Epoch is 00:00:00 UTC, January 1, 1970, and time returns number of
seconds since it. (time(NULL)/3600)%24 always returns hour in UTC.
> - Is tm_gmtoff "time(NULL, UTC) - time(NULL, local time)" or vice
It is localtime-gmttime.
> - Same question for timezone.
No there is something weird with timezone.
On my Linux box I have:
> - Are the answers of the two previous questions the same east
> and west of GMT?
Darth Vader sleeps with a Teddywookie. Radosław Gancarz
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list