Computing.Net > Forums > Linux > Clock is wrong in Linux and XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Clock is wrong in Linux and XP

Reply to Message Icon

Name: SteadyLoungin05
Date: April 30, 2003 at 13:43:59 Pacific
OS: WinXP/Linux
CPU/Ram: P4, 1.5Ghz, 128MB RAM
Comment:

When I log into Linux, the clock is all wrong, but my clock on XP stays the same. I looked at other threads on this message board for help and tried some of people's suggestions:

hwclock --localtime --systohc

However, when I did that, nothing changed...So I manually changed the time, but when I logged back into XP, the XP clock was ahead by 12 hours!!

What can I do to fix this?

I'm running Mandrake 9.1 with the KDE desktop - Any and all help will be greatly appreciated.

Steady



Sponsored Link
Ads by Google

Response Number 1
Name: Balram Adlakha
Date: April 30, 2003 at 14:12:13 Pacific
Reply:

Yes, this can be quite confusing as first but it is really simple. First you have to determine how to clock is behaving...
Check if the time changes by some hours every time you reboot, also keep checking the time in your BIOS when you do this... This should give you an idea what your linux box is doing...
Then check if your timezone and the UTC is set to your preference (UTC=1 means hardware clock is set to GMT, 0 means local time), So you can set this according to what you want to set in your bios. If bios is set to local time then it will be displayed as it is, otherwise it will add/subtract your timezone from it.
Basically, I am 90% sure that if you just set UTC=0 and reboot and set the correct time in your bios, your time will display right.


0

Response Number 2
Name: newbb
Date: May 1, 2003 at 09:25:23 Pacific
Reply:

i have a similar problem with my xp and linux...
on xp, the clock is set to gmt, so it should be daylight saving time, ok? now, everytime i switch to linux and then back to windows, the clock is delayed by an hour.

I tried to sort this out, but no luck at all...anyone?? thx in adv


0

Response Number 3
Name: Balram Adlakha
Date: May 1, 2003 at 11:44:14 Pacific
Reply:

That means when linux shuts down it changes the clock, so you have the same problem as SteadyLoungin05


0

Response Number 4
Name: Ronald
Date: May 5, 2003 at 03:48:11 Pacific
Reply:

I always just set my clock in the bios. The daylight savings time feature did not work in Gnu/Linux but did in XP. So I just went into the bios on my linux box and reset the time.
No dual boot for me.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Alright... I admit it... Need Help Installing Stuf...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Clock is wrong in Linux and XP

sound linux and XP www.computing.net/answers/linux/sound-linux-and-xp/6374.html

Mandriva Linux and XP Workgroup www.computing.net/answers/linux/mandriva-linux-and-xp-workgroup/28595.html

XP, Linux, and Win98 www.computing.net/answers/linux/xp-linux-and-win98/7582.html