- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業務經營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯網協會理事單位
- 安全聯盟認證網站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網數碼
前言
大家在安裝雙系統以后,發現進入win7和ubuntu系統以后,顯示的時間不一致,后來發現是兩個系統對硬件時間的看法不一致
原因如下
1、Windows會認為BIOS時間就是你的本地時間
2、ubuntu默認時間是把BIOS時間當成GMT+0時間,也就是世界標準時,而我國在東八區(GMT+8),所以如果你的Ubuntu位置是中國的話你系統顯示的時間就是BIOS時間+8小時。假如現在是早上8點,那么你Ubuntu會顯示8點,這時BIOS中的時間是0點。
更正方法
將ubuntu對待bios時間的方法改為和windows一致。
代碼:
sudo timedatectl set-local-rtc 1
代碼:
$ timedatectl
Local time: 六 2016-04-23 09:05:54 CST
Universal time: 六 2016-04-23 01:05:54 UTC
RTC time: 六 2016-04-23 09:05:54
Time zone: Asia/Shanghai (CST, +0800)
Network time on: yes
NTP synchronized: no
RTC in local TZ: yes
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'.
提交成功!非常感謝您的反饋,我們會繼續努力做到更好!
這條文檔是否有幫助解決問題?
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP