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.
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
sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS
And then reboot.