mktime() like function to produce GMT?

Guido van Rossum guido at eric.cnri.reston.va.us
Tue May 4 10:56:13 EDT 1999


"M.-A. Lemburg" <mal at lemburg.com> writes:
> The last short sentence pretty nicely covers up the problems with timegm()
> :-) "POSIX algorithm" means that leap seconds are not accounted for.

And what's wrong with that?  The Unix time is just as much an
*encoding* of time values as any other.  Few clocks in the world are
accurate enough to care about leap seconds.  The rest of us
occasionally synchronize with a master clock.  I don't care about leap 
seconds and never will.

--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-list mailing list