Dual Boot: UTC time fix Ubuntu 16.10

If you dual boot and there are time conflicts between Windows and Ubuntu, this occurs because Ubuntu store the time on the hardware clock as UTC by default while Microsoft Windows stores the time as local time, thus causing conflicting times between Ubuntu and Windows.

timedatectl

timedatectl set-local-rtc 1

….

~$ timedatectl
Local time: Fri 2016-10-14 17:16:14 EAT
Universal time: Fri 2016-10-14 14:16:14 UTC
RTC time: Fri 2016-10-14 17:16:12
Time zone: Africa/Nairobi (EAT, +0300)
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’.

…..

Leave a Reply

Your email address will not be published. Required fields are marked *