How to change Server Timezone

The definition for time zones can be written in short form as UTCA+n, where n is the offset in hours.

Fedora/RHEL/CentOS

Call the `date` command to verify the result of settings.

Timedatectl control

  1. display current status of the time on the system
# timedatectl
  1. change datetime settings
# timedatectl 2015-09-02
# timedatectl 22:09:02
# timedatectl list-timezones | grep Sha
# timedatectl set-timezone Asia/Shanghai

results matching ""

    No results matching ""