Knowledge Base

Make Linux Use Local Time to Fix Dual Boot Time Issues

To check settings
timedatectl
To put the real time clock on the motherboard into local time*

* This matches how Windows handles time settings, preventing a discrepancy between the two OSes.

timedatectl set-local-rtc 1 --adjust-system-clock
To undo the above change:
timedatectl set-local-rtc 0 --adjust-system-clock
Note:

When rebooting into Windows, it may be necessary to adjust the clock settings:

  1. Right click on the clock at the bottom right and choose Adjust date and time.
  2. Switch Set time zone automatically to Off and then back to On.