On Jan 31, 4:01 pm, gazza <burslem2...@yahoo.com> wrote: > On Jan 31, 3:27 pm, gazza <burslem2...@yahoo.com> wrote: > > > Hi, > > > I am trying to discover how to obtain the correct time of say CST/ > > America and EST/America in python? > > > Any help on this would be appreciated. > > > Thanks, > > Garyc > > I found some information. Someone suggested I use the pytz library? > > Cheers, > Garyc
tz = pytz.timezone('US/Pacific') t = datetime.datetime.now(tz) -- http://mail.python.org/mailman/listinfo/python-list