How to fix different time issue in Dual Boot?

  • Post last modified:April 27, 2021
  • Reading time:2 mins read

Whenever you switch from Linux distribution to windows you have saw different time.

Because of this many application and web-service is not running properly. So we will see why this problem occur and how to solve it.

Why System time get clash in Dual Boot?

By Default computer store time on motherboard because of that time is accurately even after we start computer after shutdown.

In Linux system time stored in UTC Time and windows stored in local time. Due to that issue get occurred after switching.

How To Resolve Different Time Issue in Linux?

You can solve this problem through both Linux and windows But Linux will be better option to solve this issue.

Through timedatectl command will make real-time to local-time

$ timedatectl

When you just pass timedatectl to terminal it will show you Local time, Universal time, RTC time, Time zone, System clock synchronized, NTP service, RTC in local TZ: no

You have to make changes in RTC in local TZ

command: timedatectl
command: timedatectl

To set real time to local time then pass this command to Linux terminal

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

Read this:How to install WSL2 in windows 10?

different time issue in Dual Boot
After RTC to local

Now the problem of different time issue in dual boot is solved just restart your computer to verify the changes.

If you want to revert back then pass this command.

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

That’s it different time issue in dual boot is fixed.

Like what you read? Please share it with others.

Leave a Reply