[Tutor] time.mktime(time.gmtime(time tuple from any timezone)) always will be the same ?

Arun Kumar PG arunkumarpg at gmail.com
Fri Jul 13 20:38:44 CEST 2007


Guys,

May be a dumb question but I am a bit confused (may be coz working over 24
hours for the last couple days:)). so the question is:

No matter which timezone I am in if i say   time.gmtime(time.mktime((
datetime.date().timetuple()))) I will always get the same value. - right ?

thx for answering this dumbo question but i need a break!
-- 
Cheers,

- A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070714/7ac386b9/attachment.htm 


More information about the Tutor mailing list