首页 > 代码库 > Ubuntu使用BIOS时间做为localtime(与windows保持一致)

Ubuntu使用BIOS时间做为localtime(与windows保持一致)

查看状态:timedatectl

Local time: 三 2016-07-13 23:40:35 CST  
Universal time: 三 2016-07-13 15:40:35 UTC  
RTC time: 三 2016-07-13 15:40:35  
Time zone: Asia/Shanghai (CST, +0800)  
Network time on: yes  
NTP synchronized: yes  
RTC in local TZ: no

修改:

timedatectl set-local-rtc 1

Ubuntu使用BIOS时间做为localtime(与windows保持一致)