Fix timezone errors in a dual-boot system with Windows


This step is only needed for dual-boot systems with Linux and Windows!

In a dual-boot system with Windows and Linux, the time in Windows is always off by one hour (or two hours in summer) if Linux was booted previously. This is because Linux treats the system clock as UTC (i.e., “Greenwich mean time”), whereas Windows treats it as the local time zone.

To fix this issue, the simplest solution is to set Linux to your local timezone. You can do this with the command:

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

There is no feedback. You can check the status of your system clock with the command:

timedatectl

The output shouldf contain RTC in local TZ: yes.

Source: