Hi
My PHP scripts does not show the correct time.
Is there any way I can resolve this using my script? I want to display/set time of "US/Central" .
Regards
Xpert
Hi
My PHP scripts does not show the correct time.
Is there any way I can resolve this using my script? I want to display/set time of "US/Central" .
Regards
Xpert
Hello Xpert
If your PHP scripts do not show the correct time, the reason is that most probably your hosting server is in a different timezone. This can be easily resolved by changing a setting in PHP called date.timezone.
You can set a specific date.timezone value in PHP using the following option which should be added to your local php.ini file:
I trust this resolves the issue you are facingCode:date.timezone = "US/Central".
Regards
Kalpesh Sonar
Bookmarks