PHP: Set or change a websites timezone using .user.ini
You can change the default timezone by using a custom .user.ini. Below are the steps needed to set this up.
1) You will first need to login to the account using SSH. Alternatively, you can use File Manager in your control panel.
2) Next, create a .user.ini file our public_html directory. For more information on how to do this, please see this article.
3) Now that the .user.ini file has been created, you would need to add the following line to the .user.ini file:
Make sure to replace “TIMEZONE” with the specific timezone you are trying to set this to such as, “Canada/Eastern”, “Europe/London”, “Asia/Delhi”, etc.
And that’s it! you’ve now set the time zone that your sites will use.