Fix Windows And Linux Different Time Issue

While dual booting Windows and Linux there is time difference between both of the OSes, this arises because of the fact that while Linux saves time on motherboard's clock in UTC, Windows save it in Local Time, this makes one of Operating System to have a different/wrong time than it actually is (Windows for me personally).

This can be fixed by either setting Linux to use Local Time instead of UTC or setting Windows to use UTC time. Since setting this on Windows can be a little complicated, we can simply run one command on Linux and we're good to go!

Process

We can set Linux to use Local Time by running -

$ timedatectl set-local-rtc 1 --adjust-system-clock

Check current settings by running -

$ timedatectl

Source: HowToGeek

Last updated