If you dual boot Windows with Linux or MAC OS X, you must have noticed that switching between Linux and Windows or Windows or MAC, TIME changes for your system after restart and clock is reset incorrectly.
This happens because Linux uses GMT time while Windows uses Local Time. And hence TIME Error.

Ubuntu Wiki says – “the advantage of having the hardware clock as UTC is that you don’t need to change the hardware clock when moving between timezones or when Daylight Savings Time (DST) begins or ends as UTC does not have DST or timezone offsets

We can FIx this from either Operating System, From WIndows or Linux. Lets have look on both.

1- Open regedit from RUN.
2- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
3- Create new DWORD(32bit) in this key name it RealTimeIsUniversal with value 1  .
FIXED, Now your time doesnot resets incorrectly .


Ubuntu 16.04 and Newer
Run the command in terminal
timedatectl set-local-rtc 1

You may check if your Linux System uses Local Time or not by this command

For Ubuntu versions older than 16.04: you must edit the /etc/default/rcS file and replace “UTC=yes” with “UTC=no” (both without the quotes). To do this automatically, simply copy/paste the following command in a terminal:
sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS

And then reboot.


Please enter your comment!
Please enter your name here