Linux Lite Forums

Hardware - Support => Other => Topic started by: f23948 on June 21, 2020, 09:18:16 PM

Title: how to stop changing time in windows 7
Post by: f23948 on June 21, 2020, 09:18:16 PM
please i would like to know how to stop changing time in windows 7? I am using dual boot
Title: Re: how to stop changing time in windows 7
Post by: stevef on June 22, 2020, 01:25:42 AM
Windows assumes the hardware clock on the computer is local time and uses it directly.
Linux assumes the hardware clock is UTC and applies an offset to get local time.

Check what linux is doing by opening a terminal and typing

Code: [Select]
timedatectl
You can make Linux use local time (like windows does) by setting

Code: [Select]
timedatectl set-local-rtc 1 --adjust-system-clock
Then both OS will interpret the hardware clock as local


Title: Re: how to stop changing time in windows 7
Post by: f23948 on June 22, 2020, 09:41:35 AM
timedetectl not found
(https://i.imgur.com/VmjN9z0.png)
Title: Re: how to stop changing time in windows 7
Post by: stevef on June 22, 2020, 10:08:45 AM
The actual command is

Code: [Select]
timedatectl
Your screenshot shows "timedetectl" which the system didn't like.
Title: Re: how to stop changing time in windows 7
Post by: f23948 on March 04, 2022, 08:07:53 PM
update i did in terminal and it's working
Code: [Select]
timedatectl set-local-rtc 1 --adjust-system-clock