[Tutor] problem with time module
Dick Moores
rdm at rcblue.com
Sat Aug 14 21:06:04 CEST 2004
From the time module doc at
<http://docs.python.org/lib/module-time.html>,
I expected mktime(localtime()) and time() to be approx. 7*3600 seconds
apart (I'm on the U.S. west coast, in -0700).
But they're not:
>>> from time import *
>>> mktime(localtime());time()
1092510279.0
1092510279.2650001
Have I misunderstood something?
Thanks, tutors.
Dick Moores
Win XP, Python 2.3.4
More information about the Tutor
mailing list