22 Nov
2006
22 Nov
'06
6:34 p.m.
Paul Winkler wrote at 2006-11-21 16:27 -0500:
... "- I have been told 106900545747.045975 converts to: Tue May 22 1973 01:35:45" That's wrong by several millenia, and the Python standard library agrees with (zope 2.9.1) DateTime.DateTime on this:
import time time.localtime(106900545747.045975).tm_year 5357
Now, we understand: it's the Python "time" implementation that has changed. With Python 2.3.3 (under Debian Sarge), we get:
from time import localtime localtime(106900545747.045975) (1901, 12, 13, 21, 45, 52, 4, 347, 0) localtime(106900545747.045975).tm_year 1901
-- Dieter