Problems with time

Diez B. Roggisch deets at nospam.web.de
Tue May 1 07:38:00 EDT 2007


loial schrieb:
> I am running on an AIX system with time zone set to BST
> 
> If I run the following, I get the GMT time, i.e an hour less than the
> correct time.
> 
> How can I get the correct time
> 
>         now = time()
> 
>         timeProcessed = strftime("%H:%M",gmtime(now))
> 

localtime?

Diez



More information about the Python-list mailing list