[LEAPSECS] operational time -- What's in a name?

John Cowan cowan at ccil.org
Fri Mar 28 15:15:47 EDT 2008


Greg Hennessy scripsit:


> My claim is that if POSIX defines time_t % 86400 == 0 as being

> midnight than POSIX doesn't reflect reality, since people think

> "midnight" as being UTC rather than POSIX.


When it's midnight UTC, a properly time-aware Posix system *will*
report that time_t % 86400 == 0. That's about as congruent to
reality is any system can get.

Unfortunately, it reports the same thing at 23:59:60 UTC on days
when such a second exists.

--
A rose by any other name John Cowan
may smell as sweet, http://www.ccil.org/~cowan
but if you called it an onion cowan at ccil.org
you'd get cooks very confused. --RMS


More information about the LEAPSECS mailing list