Skip to contentSkip to conversation

Time problem

DISCUSSION Abhijit Vijay 3 participants 3 messages Oct 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi All,

I have been having a peculiar problem with KDE. Whenever I reboot, the time on the control panel goes back by four hours. (I am in the EDT zone) Could anyone tell me why this is happening and the fix please?

Regards,
Abhijit.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 7 lines · Abhijit Vijay

Hi All,

I have been having a peculiar problem with KDE. Whenever I reboot, the time on the control panel goes back by four hours. (I am in the EDT zone) Could anyone tell me why this is happening and the fix please?

Could it be that you have set the clock to GMT.?

You dont say which distro, in slacklware t change defaults use the command 'timeconfig'.
I dont have access to any other machines at the minute to give you more pointers.

Quoted 8 lines

Regards,
Abhijit.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw
Quoted 9 lines · At 02:43 PM 10/2/02 +0000, pa3gcu wrote:
Quoted 7 lines · Abhijit Vijay

Hi All,

I have been having a peculiar problem with KDE. Whenever I reboot, the time on the control panel goes back by four hours. (I am in the EDT zone) Could anyone tell me why this is happening and the fix please?

Quoted 6 lines

Could it be that you have set the clock to GMT.?

You dont say which distro, in slacklware t change defaults use the command 'timeconfig'.
I dont have access to any other machines at the minute to give you more pointers.

Richard's guess is a good one, but it might be a bit off in the details. It depends a bit on what you mean by "back". I think he is right that the hardware and software clocks have a mismatch, but I can't tell from what you wrote which way the mismatch goes.

By convention, GMT (or UT) is 0, and EDT is -4 (4 hours earlier). If (for example) you boot/init your machine at noon, and the time displayed is 8 AM (this is what I would describe as "back by four hours"), then

your hardware clock is set to local time
your software clock thinks the hardware clock is set to GMT

In contrast, if (for example) you boot/init your machine at noon, and the time displayed is 4 PM, then

your hardware clock is set to GMT
your software clock thinks the hardware clock is set to local time

You can get them beck into sync by changing either half.

To change the hardware clock, the usual tool is "hwclock". The
command "hwclock --systohc" will use the current system time (first reset this using "date", or maybe KDE has some thingie to do it) to reset the hardware clock.

To change what the software clock expects to get from the hardware
clock ... well, this part seems to be quite distro specific, so if you want to do it this way, tell us what distro you are using. In Debian, for example, all you would need to change is a line in /etc/defaults/rdS (a line which says either "UTC=yes" or "UTC=no", recording which way the hardware clock is set); "man tzsetup" for more details here (if you don't use Debian, you might see if "man tzconfig" rerurns a man-page listing). But I don't know how Debian-specific this approach is.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs