> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/linux/fix-windows-and-linux-different-time-issue.md).

# 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 -

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

Check current settings by running -

```
timedatectl
```

***Source:*** [***HowToGeek***](https://www.howtogeek.com/323390/how-to-fix-windows-and-linux-showing-different-times-when-dual-booting/)
