ubuntu与windows双系统时间同步问题——简明指南

小明 2025-05-05 20:18:10 6

ubuntu与windows双系统时间同步问题——简明指南

refrecence link: https://zhuanlan.zhihu.com/p/492885761

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.
jm@jm:~$ timedatectl status 
               Local time: 一 2024-03-04 10:27:04 CST
           Universal time: 一 2024-03-04 02:27:04 UTC
                 RTC time: 一 2024-03-04 02:27:05    
                Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes                       
              NTP service: active                    
          RTC in local TZ: no                        
jm@jm:~$ timedatectl set-local-rtc 1
jm@jm:~$ timedatectl status 
               Local time: 一 2024-03-04 10:27:33 CST
           Universal time: 一 2024-03-04 02:27:33 UTC
                 RTC time: 一 2024-03-04 10:27:33    
                Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes                       
              NTP service: active                    
          RTC in local TZ: yes                       
Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot 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'.
jm@jm:~$ 
()()
The End
微信