Forum Moderators: coopster

Message Too Old, No Replies

date() is not working in php5

date("H:i:s") is incorrect in php5

         

patd

7:51 am on Mar 3, 2009 (gmt 0)

10+ Year Member



Hi,

the function date("H:i:s") was working fine in php4,
but its not working correctly in php5

its somehow not same with the server's time. its 4-5 hours different.

how can this be fixed.

-
Patd

coopster

4:27 pm on Mar 3, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, patd.

Try this setting:
[webmasterworld.com...]