Setting the Time Zone

Overview

Set the time zone on the hosts server using the timedatectl set-timezone command. If the host self-synchronizes with an NTP server, the time zone still needs to be manually configured.

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

  1. Log in as root user:

    sudo su -

  2. 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

  3. Identify the correct time zone and run the following:

    timedatectl set-timezone <Timezone>

    For example:

    timedatectl set-timezone America/New_York

  4. Run the following command to verify the changes:

    timedatectl status