Problems with time

2007-05-01 Thread loial
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)) --

Re: Problems with time

2007-05-01 Thread Diez B. Roggisch
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 --