I'm using the following code in Python 2.5.1 to generate a UTC timestamp from a string representation of a date:
time.mktime(time.strptime("2009-06-16", "%Y-%m-%d"))
The general result is: 1245103200 (16.6.2009 0:00 UTC or 15.6.09 22:00:00, if you're in my time zone).
But now, I found that on some computers running Windows XP, this statement would generate a time shifted by 1 hour, 1 minute and 1 second: 1245099539 (15.6.2009 22:58:59 UTC or 15.6.09 20:58:59 in my time zone).
DST and time zone do not seem to be the cause of the problem, because the time shift seems to appear additionally to DST and time zone calculation.
Has anybody experienced the same behaviour or is able to describe what happens here?