📜  linux 如何使用时区显示当前时间 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:49.081000             🧑  作者: Mango

代码示例2
timedatectl

Output
------------
                      Local time: Tue 2019-12-03 16:30:44 UTC
                  Universal time: Tue 2019-12-03 16:30:44 UTC
                        RTC time: Tue 2019-12-03 16:30:44
                       Time zone: Etc/UTC (UTC, +0000)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no