> Well, time_t is UTC, which two unfortunate problems. 

Is it? I always thought it was a count of the number of seconds since
the start of the unix epoch, not counting leap seconds.

There having been 24 (I think) leap seconds since 1970, the unix
epoch, if POSIX is UTC, then it can't be true that time_d % 86400 == 0
is midnight.

I've always considered time_t to be POSIX time, not UTC.

_______________________________________________
LEAPSECS mailing list
LEAPSECS@leapsecond.com
http://six.pairlist.net/mailman/listinfo/leapsecs

Reply via email to