View time zones
Cat/etc/localtime
[Email protected] ~]# Cat/etc/localtime
Tzif?\??? ' P????? Z?? 6ip ~h?! Iap "^j?#) cp$gg%_?& ' I&? A? (+ (? #?~?p?) CDTCSTTZif2
???? ~6C)????? \???????‘ P????????????? Z?? 6ip ~h?! Iap "^j?#) cp$gg%_?& ' I&? A? (+ (? #?q?~?plmtcdtcst
CST-8
[Email protected] ~]#
Show Hardware Time
[Email protected] ~]# Hwclock-r
June 30, 2015 Tuesday 15:20 15 seconds-0.298092 seconds
[Email protected] ~]#
Show Software Time
[[Email protected] ~]# Date
June 30, 2015 Tuesday 15:27:32 CST
[Email protected] ~]#
Ntpdate
[Email protected] ~]# ntpdate 0.pool.ntp.org
June 15:47:28 ntpdate[6848]: Adjust time server 202.112.10.36 offset 0.001452 sec
[Email protected] ~]#
Write Hardware time
[Email protected] ~]# hwclock-w
[Email protected] ~]# Hwclock-r
June 30, 2015 Tuesday 15:49 14 seconds-0.187905 seconds
[Email protected] ~]#
"CentOS 7.1" time setting