On This Page
Setting the Time Zone
Overview
Set the time zone on the hosts server using the timedatectl set-timezone command.
Creating a symbolic link from the time zone file to /etc/localtime
is no longer supported.
To change the date or time, see Changing the Time and Date.
To change the time zone
-
Log in as root user:
sudo su -
-
Use the
tzselect
command to find a specific time zone:tzselect
Or use the following command to list all available time zones:
timedatectl list-timezones
-
Identify the correct time zone and run the following:
timedatectl set-timezone <Timezone>
For example:
timedatectl set-timezone America/New_York
-
Run the following command to verify the changes:
timedatectl status