Page 1 of 1

Date() returns time 5 hours ahead

Posted: Wed Dec 01, 2004 7:17 am
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?

Posted: Wed Dec 01, 2004 12:13 pm
by Fred
This bug is correct for the next version, thank you.

Posted: Wed Dec 01, 2004 4:55 pm
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.