Date() returns time 5 hours ahead

Linux specific forum
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Date() returns time 5 hours ahead

Post by Beach »

I just had a strange problem. If I check the time using FormatDate and Date(), the returned time is 5 hours ahead. I verified the correct date and time is set by typing "echo `date`" at the prompt.

Is this normal?

I fixed it by subtracting 18000 seconds but I do not want to do this if it will get messed up down the road.

Any ideas?
-Beach
Fred
Administrator
Administrator
Posts: 16686
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

This bug is correct for the next version, thank you.
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

Thanks Fred, I just wanted to make sure I was not forgetting to do something. I will just recompile without the subtracted seconds when the new version comes out.
-Beach
Post Reply