Setting time-zone of your system

  1. 4 months ago
    Edited 4 months ago by Men in Black
    # show the list of timezones
    
    [root@dlp ~]# 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
    
    [root@dlp ~]# timedatectl set-timezone Asia/Ho_Chi_Minh
    # show status
    
    [root@dlp ~]# 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
 

or Sign Up to reply!