View previous topic :: View next topic |
Author |
Message |
mercurator Tux's lil' helper
Joined: 09 Aug 2004 Posts: 92 Location: Slovenia
|
Posted: Mon Sep 27, 2004 3:19 pm Post subject: Sync time between Gentoo and Win XP |
|
|
I come from a little county of Slovenia. In Windows XP I set the timezone to GMT+1 since we have central european time. In gentoo I set the /etc/localtime to CET. My problem is that the the clock in linux is running two hours ahead of the one set in Windows. The two hour difference is always present, no matter how I set the time. If I set time in gentoo to 10.00, then in XP it is 8.00. And if I set XP time to 10.00, then gentoo time is 12.00.
Is there any way I could sync time between these two OSes? _________________ "Ignorantia non est Argumentum" - Benedict de Spinoza |
|
Back to top |
|
|
dizzogg Tux's lil' helper
Joined: 03 May 2002 Posts: 131 Location: Virginia, USA
|
Posted: Mon Sep 27, 2004 8:08 pm Post subject: |
|
|
is your gentoo install set to use UTC or localtime? If you dual boot you have to have your bios clock set to localtime, cause windows can't handle it any other way.... I don't know if that's your problem, but I know plenty of other people have had problems with it. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Sep 27, 2004 11:20 pm Post subject: |
|
|
Look at your /etc/rc.conf
Since you want to use local time there's an entry in that file that should look like this:
Code: |
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then set CLOCK
# to "local". This setting is used by the /etc/init.d/clock script.
CLOCK="local"
|
And if you have the file using CLOCK="UTC" then that would probably be your problem. |
|
Back to top |
|
|
jsosic Guru
Joined: 02 Aug 2004 Posts: 510 Location: Split (Croatia)
|
Posted: Fri Oct 22, 2004 4:22 pm Post subject: |
|
|
Hello to Slovenia, Croatia here
Well, this may be offtopic on linux forum, but what tha hell, I'll ask anyway. Hope you don't bother
I want to use UTC time, but since I dualboot windows on my desktop machine, I wonder is there a way to change windows clock to UTC? It's much smarter time system IMHO. But, 'cause of M$tupidity, I doubt it's possible... |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Fri Oct 22, 2004 8:38 pm Post subject: |
|
|
The problem is that Windows doesn't use UTC at all.
Windows uses GMT. The different between UTC and GMT is that UTC accounts for leap seconds but GMT does not. |
|
Back to top |
|
|
|