Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bajiaomao

macrumors newbie
Original poster
Jul 8, 2007
7
0
Everytime I switch to Windows XP from OS X, the time in Windows XP is not right. I googled first, some suggested to add a key in Windows registry, I tried but not working. I installed another windows xp as a virtual machine with VMware Fusion. The time there is same as in OS X. Anyone knows how to fix this problem?:)
 

bajiaomao

macrumors newbie
Original poster
Jul 8, 2007
7
0
did you install the Mac drivers after you installed XP?

If so I don't know, Windows is stupid.:)

yes. I installed Mac drivers. Everything else works perfectly well. Only the time is different. I set timezone as "+8:00 Shanghai, China" in OS X ;"+8:00 Beijing,China“ in Windows. :confused:
 

CalBoy

macrumors 604
May 21, 2007
7,849
37
yes. I installed Mac drivers. Everything else works perfectly well. Only the time is different. I set timezone as "+8:00 Shanghai, China" in OS X ;"+8:00 Beijing,China“ in Windows. :confused:

Do you go online enough when you're in Windows? I'm not sure, but I believe that's one of the ways Windows keeps your clock properly synced. I think browsers need your GMT+- time in order to work no? If not, then call Microsoft and yell at them. Tell them they can't even get the clock right:p
 

DoFoT9

macrumors P6
Jun 11, 2007
17,586
99
London, United Kingdom
this happens to me everytime i do it aswell.. i think the xp version changes the computers clock, and its just retarted. then u have to go fix it urself.. good one M$.:mad:
 

hopejr

macrumors 6502
Nov 10, 2005
310
0
New South Wales, Australia
The reason for the date difference is that Windows bases it's time directly off the system clock, without any time conversion. OS X sets the system clock to GMT and then converts for display (this behaviour has existed since the days of DOS). So after being in OS X, the clock is in GMT so is 8 hours behind when you're in Windows. If Windows then updates the time, and then you boot into OS X, the time is 8 hours ahead. It also causes other problems with Finder not display files properly.

To update the time in Windows, use the Update Time button in the Internet Time tab of the Date and Time Properties.
 

Attachments

  • sshot-1.png
    sshot-1.png
    13 KB · Views: 99

M@lew

macrumors 68000
Nov 18, 2006
1,582
0
Melbourne, Australia
The time bug is a common bug in Boot Camp. If you have the clocks on both Mac and Windows set-up to be synced with the internet, they'll sort each other out a few minutes after logging in.
 

rogersmj

macrumors 68020
Sep 10, 2006
2,161
1
Indianapolis, IN
It's not really a "bug", it's just a craptacular feature on Microsoft's part. That's the way Windows was designed to work, for some inexplicable reason. "Hey, I know...instead of actually doing time zone calculations, let's just change the hardware clock! Yeah. That'll be great, it'll screw up any other OS they have on the computer." Just one more instance of Microsoft trying to strong-arm consumers or otherwise make it as difficult as possible to run anything other than MS products.
 

hopejr

macrumors 6502
Nov 10, 2005
310
0
New South Wales, Australia
hopejr i hope thats parellels!!!!! ;)
Nope, it's boot camp.


It's not really a "bug", it's just a craptacular feature on Microsoft's part. That's the way Windows was designed to work, for some inexplicable reason. "Hey, I know...instead of actually doing time zone calculations, let's just change the hardware clock! Yeah. That'll be great, it'll screw up any other OS they have on the computer." Just one more instance of Microsoft trying to strong-arm consumers or otherwise make it as difficult as possible to run anything other than MS products.

It's the way it was back in the days when MS first started with DOS, before Windows was thought of. Hardly anyone thought about using GMT and converting back then (except in the UNIX world).
 

bajiaomao

macrumors newbie
Original poster
Jul 8, 2007
7
0
Thanks guys.. guess all I can do is to sync the time in windows, and talk to Bill Gates:D
 

Rodimus Prime

macrumors G4
Oct 9, 2006
10,136
4
It's not really a "bug", it's just a craptacular feature on Microsoft's part. That's the way Windows was designed to work, for some inexplicable reason. "Hey, I know...instead of actually doing time zone calculations, let's just change the hardware clock! Yeah. That'll be great, it'll screw up any other OS they have on the computer." Just one more instance of Microsoft trying to strong-arm consumers or otherwise make it as difficult as possible to run anything other than MS products.

You know I do not think it one of M$ ways of making thing difficult for others. Thinking so is just plain stupid. If you can think about it and get around the MS is evil you would see in some ways the hardware clock has its advatages over OSX way. 2nd how often do computers have more than one OS installed on them so this is hardly ever an issue plus it is a very simple solution to solve. It is all a matter of just changing the timezone setting and it never would be an issue. Set OSX to GMT and then it will be correct with the boot camp.
As for a reason the changing the system clock is it dates back to DOS so they been reusing that access. 2nd when one goes into a BIOS of their computer the date and time there are correct for the Timezone and removes that confusion. If it was set to GMT then it would be confusing when one is working on the system leval.

Neither way is wrong just eat way is different. Just M$ code for it is a more efficient code because it does not have to do any calculations to figure out the time. It just reads the system clock and they are good to go and back when they wrote that code it mattered not having any more lines of code than you need and it just been reused ever since then.
 

topgunn

macrumors 68000
Nov 5, 2004
1,556
2,060
Houston
I also fail to see how this is Microsofts fault. When I set the clocks in my house, I don't set them to GMT and then expect the clock to display the correct local time. Why should I expect my computer to? Microsoft has its OS's installed on a vast majority of computers. They should not have to accomodate the other 10-20%.

The simple fix is for Apple to have a little check box in the System Preference to use GMT based time or local time. Many (most) people would never think of changing it but those of us who go back and forth with Windows quite a bit would love it. Did you get that Apple?
 

rogersmj

macrumors 68020
Sep 10, 2006
2,161
1
Indianapolis, IN
You know I do not think it one of M$ ways of making thing difficult for others. Thinking so is just plain stupid.

I find it funny that you get so bent out of shape about my post and call me "stupid" yet you spell "MS" with a dollar sign. Cute. So you're allowed to have issues with Microsoft but I'm not?

I do think it is just MS taking shortcuts without regard. I'm a programmer by nature, and standardization appeals to me. GMT is a standard. It wouldn't have "cost" hardly anything extra to take the system clock + timezone offset. I don't think you need to get so up in arms about it and call me stupid because you disagree. THAT'S stupid.
 

Sbrocket

macrumors 65816
Jun 3, 2007
1,250
0
/dev/null
I also fail to see how this is Microsofts fault. When I set the clocks in my house, I don't set them to GMT and then expect the clock to display the correct local time. Why should I expect my computer to? Microsoft has its OS's installed on a vast majority of computers. They should not have to accomodate the other 10-20%.

The simple fix is for Apple to have a little check box in the System Preference to use GMT based time or local time. Many (most) people would never think of changing it but those of us who go back and forth with Windows quite a bit would love it. Did you get that Apple?

Or you could use the registry "hack" to enable the same functionality (reversed, of course) already built into Windows, but for some reason conveniently left out of a simple control panel. Basing the system clock off GMT seems to be the most sensible solution to me, but it doesn't really matter; Windows does it one way, *nix does it another way. There really is no conspiracy here, and there is no standardized way that either is violating.

You could also set up a simple LaunchDaemon to run on startup that performs "sudo ntpdate -u" to set the system clock back to GMT. Just another option.

By the way, your analogy between a computer's system clock and a conventional clock is invalid. What difference does it make if the hardware clock is set to GMT and the OS converts to your local time zone? You only ever see the correct local time, not the GMT hardware time.
 

Wolfpup

macrumors 68030
Sep 7, 2006
2,927
105
I'm no fan of Microsoft, but I don't see how this is their problem either (or Apple's for that matter).

I don't think any approach is truly right or wrong, but personally I think it's nuts to set a system clock to GMT and then do a conversion. The comparison to doing that to a wall clock is apt. There's no reason for that extra complexity. The point of the system clock is to HAVE THE CURRENT TIME WHERE YOU ARE.

I'm sure there's some fantastic reason to use GMT instead, but for normal users, having the system clock set to the actual time makes more sense and prevents wasting time on a conversion.
 

CalBoy

macrumors 604
May 21, 2007
7,849
37
I'm sure there's some fantastic reason to use GMT instead, but for normal users, having the system clock set to the actual time makes more sense and prevents wasting time on a conversion.

Well, some of those reasons include having a standard time throughout the world. As an American, it saddens me how most Americans look at you with a funny face when they encounter "GMT." I think it makes a lot more sense for it to be set up to GMT, with a "-x" selector. That's what OS X does. I get my local time and the computer is set up in a better way. BTW, for those who don't know, California is GMT-8 during the winter and GMT-7 during the summer (daylight savings).
 

Wolfpup

macrumors 68030
Sep 7, 2006
2,927
105
Well, some of those reasons include having a standard time throughout the world. As an American, it saddens me how most Americans look at you with a funny face when they encounter "GMT." I think it makes a lot more sense for it to be set up to GMT, with a "-x" selector. That's what OS X does. I get my local time and the computer is set up in a better way. BTW, for those who don't know, California is GMT-8 during the winter and GMT-7 during the summer (daylight savings).

Why is it better though? For the average user, the computer is just having to do an extra, meaningless step.
 

CalBoy

macrumors 604
May 21, 2007
7,849
37
Why is it better though? For the average user, the computer is just having to do an extra, meaningless step.

Isn't better because then every computer that the OS is installed on can be coordinated based on a single time? Even for the average user, this has advantages. It's easier to know one standard procedure for measurement. One of the reasons why the metric system should be used over imperial/standard (although I personally like teaspoons and tablespoons:p)
 

Sbrocket

macrumors 65816
Jun 3, 2007
1,250
0
/dev/null
Why is it better though? For the average user, the computer is just having to do an extra, meaningless step.

Its better because GMT is a standardized measure of time from which all other time zones around the world are derived by adding or subtracting a certain number of hours. It would seem prudent practice to have the computer's clock set to the standard (GMT) and simply convert for local time depending on the operating system, so that it could be always assumed that the computer's clock is set to GMT. Of course there is no right or wrong way and the average user doesn't really care one way or the other, but its cleaner from a programming point of view and really has no effect on the end-user in terms of computer performance. Adding a number to another number isn't going to cripple your machine.
 

Wolfpup

macrumors 68030
Sep 7, 2006
2,927
105
Isn't better because then every computer that the OS is installed on can be coordinated based on a single time? Even for the average user, this has advantages. It's easier to know one standard procedure for measurement. One of the reasons why the metric system should be used over imperial/standard (although I personally like teaspoons and tablespoons:p)

That same logic can be used to say it's better to set the system clock to the local time. And it's the same time units, so the comparison to metric isn't really accurate.

Its better because GMT is a standardized measure of time from which all other time zones around the world are derived by adding or subtracting a certain number of hours. It would seem prudent practice to have the computer's clock set to the standard (GMT) and simply convert for local time depending on the operating system, so that it could be always assumed that the computer's clock is set to GMT. Of course there is no right or wrong way and the average user doesn't really care one way or the other, but its cleaner from a programming point of view and really has no effect on the end-user in terms of computer performance. Adding a number to another number isn't going to cripple your machine.

No, but what does it get you? As someone mentioned, we don't set our clocks to GMT. There's no reason for that added complexity. While I'm sure there's SOME application that would benefit from it on a PC, I have no idea what it is, and it sure doesn't benefit the normal user.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.