GMT is off

Joe Francia usenet at soraia.com
Mon Oct 27 20:50:15 EST 2003


Michael Loomington wrote:
> GMT time is off by like 10 minutes when I call
> strftime("%I:%S", gmtime())
> How do you correct it?  My windows time is set correctly.  Also can you make
> it report time in the EST time zone?
> 

%S == seconds.  You probably are looking for %I:%M (or %I:%M:%S).

Peace,
Joe





More information about the Python-list mailing list