[LEAPSECS] Lets get REAL about time.

Zefram zefram at fysh.org
Sat Jan 21 17:34:28 EST 2012


Keith Winstein wrote:

> I'm guessing many programs would fail, because

>they often try to localtime() a time_t that is months in the future.


This is a reason for having a distinct representation of UTC timestamps.
You can have a future UTC time, and convert it between UTC and (say)
London time, without being able to represent it as a realtime_t. I guess
you need a conversion interface that accepts *two* tz parameters (source
and destination).

-zefram


More information about the LEAPSECS mailing list