Jump to content

Php Date Function Issue


toreachdeepak
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...