Setting time-zone of your system

#74
Topic created · 1 Posts · 3 Views
  • # show the list of timezones
    
    [[email protected] ~]# timedatectl list-timezones
    
    Asia/Aden
    Asia/Almaty
    Asia/Amman
    Asia/Anadyr
    Asia/Aqtau
    Asia/Aqtobe
    Asia/Ashgabat
    ...
    ...
    ...
    Pacific/Rarotonga
    Pacific/Saipan
    Pacific/Tahiti
    Pacific/Tarawa
    Pacific/Tongatapu
    Pacific/Wake
    Pacific/Wallis
    
    # set timezone
    
    [[email protected] ~]# timedatectl set-timezone Asia/Ho_Chi_Minh
    # show status
    
    [[email protected] ~]# timedatectl
          Local time: Fri 2019-05-24 14:27:01 +07
      Universal time: Fri 2019-05-24 07:27:01 UTC
            RTC time: Fri 2019-05-24 07:27:01
           Time zone: Asia/Ho_Chi_Minh (+07, +0700)
         NTP enabled: yes
    NTP synchronized: yes
     RTC in local TZ: no
          DST active: n/a
    
Log in to reply