Message53798
Logged In: YES
user_id=31435
mktime() interprets its argument as local time; timegm() as
UTC. Generally speaking,
time.mktime(time.localtime())
returns int(time.time()), and so does
calendar.timegm(time.gmtime())
The OP appears to be right that the time module doesn't
have an "inverse" for time.gmtime() in this sense. Then
again, the time functions inherited from C are generally a
twisted thicket. |
|
Date |
User |
Action |
Args |
2007-08-23 16:06:28 | admin | link | issue697985 messages |
2007-08-23 16:06:28 | admin | create | |
|