2014年7月16日 星期三

[CentOS 7.0] set Time Zone

# 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/Tokyo

# show status
[root@dlp ~]#timedatectl

Local time: Wed 2014-07-09 18:31:16 JST
Universal time: Wed 2014-07-09 09:31:16 UTC
RTC time: Wed 2014-07-09 09:31:15
Timezone: Asia/Tokyo (JST, +0900)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a

沒有留言: