How do I change my server's timezone?

You might need to change your server's timezone so that it matches where you live

Written by Chris Oliver
Updated over a week ago
Your server's timezone can affect when cron jobs run and is helpful to be in a consistent timezone. By default, the timezone is usually UTC, but may vary by hosting provider.

To change your server's timezone, SSH into the server as root.
ssh root@1.2.3.4
You can list the available timezones with this command:
timedatectl list-timezones
To set the timezone:
timedatectl set-timezone America/New_York

Was this article helpful?