[SOLVED] Windows and Linux Time settings are conflicting
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have dual booted Debian 8 "Jessie" and Windows 10 pro 64 bit.
I have set the timezones correctly in both the OSes.
When I set the time in Linux to "UTC+x" then the BIOS time is set as "UTC".
However, setting the time in Windows to "UTC+x" sets BIOS time to "UTC+x".
Hence, setting the current time in Linux leads to the windows time getting set behind by "-x".
Conversely, setting the current time in Windows leads to the linux time getting set ahead by "+x".
How do I make the BIOS time equal to the Linux time (without subtracting the "x") ?
localtime, set both, or use that internet time settings for your linux so every time you boot into it and it links up to the net it will update your time to current time off the time server.
localtime, set both, or use that internet time settings for your linux so every time you boot into it and it links up to the net it will update your time to current time off the time server.
So to set it to Local Time I set my timezone as London ?
Also, I have currently enabled "auto-sync". Is that the internet time settings you are referring to ?
So to set it to Local Time I set my timezone as London ?
Also, I have currently enabled "auto-sync". Is that the internet time settings you are referring to ?
yes and yes
whatever zone you are in, set windows to local time, and linux to local time, then you have to adjust them, and a few reboots between the two to see if they are not interfearing, or that the time stays the same.
systemd
Code:
sudo timedatectl list-timezones
sudo timedatectl set-timezone London/London
sudo timedatectl set-time "2013-08-11 23:56:16"
To change the hardware clock time standard to localtime, use:
# timedatectl set-local-rtc 1
To revert to the hardware clock being in UTC, type:
# timedatectl set-local-rtc 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.