localtime(clock()) yields 12/31/69 under Wme
haaserd
haaserd at yahoo.com
Tue Jan 30 16:01:41 EST 2001
Hi,
This is my first attempt at using the time module. I get:
>>>
>>> import time
>>> time.clock()
14628.151040915873
>>> time.localtime(time.clock())
(1969, 12, 31, 21, 3, 57, 2, 365, 0)
>>>
My PC shows local time for all other functions. I am
running Python 2.0 under Windows ME. Is there some setup
function I have missed doing?
TIA,
Roger Haase
More information about the Python-list
mailing list