You are not logged in.

#1 2012-09-22 22:37:36

colbert
Member
Registered: 2007-12-16
Posts: 809

Setting time between Arch+Windows 7

I have Windows 7 x64 and Arch x64 both off /dev/sda, I just finished a dual boot install this week and both working fine, but I can't get the time to be smooth on both. I followed this: https://wiki.archlinux.org/index.php/Time

I have UTC in Arch (/etc/adjtime) and in Windows I added that registry entry from the Arch Wiki, however now the time in Windows is showing as 3 hours behind. I change it manually and of course it reverts shortly back to 3 hours behind. Wondering if anyone else has run into this, appreciate any help!

Offline

#2 2012-09-22 23:46:49

sim4lin
Member
Registered: 2008-03-09
Posts: 32

Re: Setting time between Arch+Windows 7

I recently did the same as you but I also set the bios clock to UTC. Now Win7 and Arch have correct local time.


ASRock N68C-GS FX motherboard
AMD X2 240 @ 2.8G
Nvidia 9500GT @ 1G
Kingston 800Mhz DDR2 @ 4G

Offline

#3 2012-09-23 00:05:00

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: Setting time between Arch+Windows 7

You can have UTC stored if you don't have Windows, but then if you do you might as well set it for localtime for both Windows and Arch.  To keep time updated, I have NTP to keep it straight, and windows has it's own time keeping server.  Usually the difference is timezones.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2012-09-23 00:19:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Setting time between Arch+Windows 7

If you use the registry entry exemplified in the wiki to set Windows to UTC/GMT, you also have to disable the windows time service.  This can be done from "services" or by simply going to whatever gui time setting thing windows has and disable auto update (or whatever they call it).  Otherwise, it will tell Windows you are in UTC, but the updater will continue to update in localtime. At least this was my experience.  So it was therefore easier to simply let Arch or any other non-windows (therefore UTC) system to keep the time.

The reason it suggests using your Linux install to handle time is because of daylight savings time.  There is the reversal of an hour in the fall and very time sensitive programs might not react very predictably when time goes backwards.  Though if your area does not have DST, this does not apply to you.

Offline

#5 2012-09-23 00:42:55

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: Setting time between Arch+Windows 7

WonderWoofy wrote:

If you use the registry entry exemplified in the wiki to set Windows to UTC/GMT, you also have to disable the windows time service.  This can be done from "services" or by simply going to whatever gui time setting thing windows has and disable auto update (or whatever they call it).  Otherwise, it will tell Windows you are in UTC, but the updater will continue to update in localtime. At least this was my experience.  So it was therefore easier to simply let Arch or any other non-windows (therefore UTC) system to keep the time.

The reason it suggests using your Linux install to handle time is because of daylight savings time.  There is the reversal of an hour in the fall and very time sensitive programs might not react very predictably when time goes backwards.  Though if your area does not have DST, this does not apply to you.

I always ran into the situation for that every additional operating system installed on the machinery, that was one more time that the clock would adjust for DST.  I now solve that problem by just having Arch installed.  If there are other *NIXs on the same machine they usually respect UTC.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2012-09-23 00:48:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Setting time between Arch+Windows 7

Well, time is actually kept by caclulating the number of seconds from Jan 1, 1970, so when in UTC, the time stays the same.  But when you track in localtime, the number of seconds actually jumps by 3600. 

So when the OS calculates time it is simply determining UTC from the number of seconds specified in the hardware clock, and then setting the system clock with an adjusted time for your location.  Therefore, assuming that all the *nix systems that you install are actually *set* to use UTC, all should be good. 

It is only the silliest of all operating systems that thinks it is a great idea to use localtime for the hardware clock.

Offline

#7 2012-09-23 00:55:44

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: Setting time between Arch+Windows 7

WonderWoofy wrote:

It is only the silliest of all operating systems that thinks it is a great idea to use localtime for the hardware clock.

What time is it when the only thing you can use Windows 8 on your piece of equipment?
Time to get a piece of equipment that doesn't have this secure boot restriction.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2012-09-23 01:02:54

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Setting time between Arch+Windows 7

@nomorewindows - indeed, the ms cartel has been extra shady of late.

Offline

#9 2012-09-23 10:37:11

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: Setting time between Arch+Windows 7

WonderWoofy wrote:

@nomorewindows - indeed, the ms cartel has been extra shady of late.

I envision a time where Microsoft will face a sudden en-Ballmer-ment (especially since Gates has stepped down), and topics like this won't be of any further concern.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB