Jump to content

Php Date Function Issue


toreachdeepak

Recommended Posts

Hi,When I use Date function of PHP on windows machine, it doesn't give me the correct date when date changes at 23:59:59 hours in nighy on "WINDOWS Machine". When I set the correct country, the I get the correct date change at 23:59:59.But on linux, this issue is not coming.Please help me in this regard.Deepak Bhatia

Link to comment
Share on other sites

Guest FirefoxRocks

Since you are not using gmdate(), is the time zone set correctly in PHP either by the date_default_timezone_set() or the php.ini file?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...