CentOS 7下使用timedatectl设置时区

# timedatectl          //输出

[******@***** ~]$ timedatectl
Local time: Sat 2016-04-16 18:03:48 CST
Universal time: Sat 2016-04-16 10:03:48 UTC
RTC time: n/a
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a

# timedatectl list-timezones       //列出所有时区

#timedatectl set-timezone Asia/Shanghai   //设置时区为亚洲/上海


Posted

in

by

Tags: