命令:timedatectl status
[root@dispatcher ~]# timedatectl status
Local time: 日 2020-07-26 14:43:52 CST
Universal time: 日 2020-07-26 06:43:52 UTC
RTC time: 日 2020-07-26 14:43:53
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: yes
DST active: n/a
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
通过Time zine 可以看到当前时区
Time zone: Asia/Shanghai (CST, +0800)