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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://til.devjugal.com/linux/fix-windows-and-linux-different-time-issue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
