[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
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()

Have I misunderstood something?

Thanks, tutors.

Dick Moores
Win XP, Python 2.3.4

More information about the Tutor mailing list