Menu

21 Ocak 2017 Cumartesi

Centos 6/7 Rethad 6/7 OEL 6/7 change time zone

Centos 6/7 Rethad 6/7 OEL 6/7 change time zone

# show the list of timezones
[root@easlan~]# timedatectl list-timezones 
Asia/Aden
Asia/Almaty
........
Europe/Istanbul
.....

# set timezone
[root@easlan~]# timedatectl set-timezone Europe/Istanbul

# show status
[root@easlan~]# timedatectl 

Local time: Sat 2017-01-21 18:35:33 +03
  Universal time: Sat 2017-01-21 15:35:33 UTC
        RTC time: Sat 2017-01-21 18:35:33
       Time zone: Europe/Istanbul (+03, +0300)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: yes


# test
[root@easlan~]# date
Sat Jan 21 18:36:22 +03 2017

1 yorum: