Converting time from GMT to another timezone

Andrew Markebo andrew.markebo at telia.com
Sat Mar 22 12:24:55 CET 2003


/ Jp Calderone <exarkun at intarweb.us> wrote:
| [...]
|     import time
|     now_EST = time.time() - 18000
|     print time.asctime(time.gmtime(now_EST))

Just being interested, these 18000, is it possible to find out how
much that is? I mean.. make a general python code that can show me the
time difference between EST and CET? 

Or is it something I as developer has to look up and hardcode into my
code?

        /Andy

-- 
 The eye of the beholder rests on the beauty!




More information about the Python-list mailing list