You can change your server's timezone by SSHing in to your server as root and running this command:

sudo dpkg-reconfigure tzdata

Then, follow the prompts to pick your preferred timezone.

Many services require a restart to recognize the new timezone. The easiest way to ensure all necessary services are restarted after changing your server's timezone is to reboot your server with this command:

sudo reboot
PHP's default timezone is always UTC regardless of your server's timezone. Learn more about changing the default timezone in PHP.
Alert: For Control Panel Help & Tutorials, click here: Panel Tutorials
Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution