How to change the date.timezone value in PHP?You can set a specific date.timezone value in PHP for your account using the following option which should be added to your local php.ini file:
date.timezone = "US/Central"
This is just an example. The full list of supported time zones is available here. You should simply replace "US/Central" with the desired timezone.
More information on how to change PHP values using the php.ini file is available in this article.