[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Timezone confusion



Hello Thomas,
	My take is: hwclock + timezone correction => local time.
So, setting hwclock to UTC +0.00 will give you right local time,
if your timezone is correct.

hwclock's following option might help you sync better, I guess:
--hctosys	: set system time from hw clock
--systohc	: set hw clock to cur sys time

Let us know if it helped.

Regards,
Atul T
http://the-shaolin.blogspot.com/
----------------------------------------------------------
The nice thing about Windows is - It does not just crash,
It displays a dialog box and lets you press 'OK' first.
----------------------------------------------------------

-----Original Message-----
From: Thomas A. Anderson [mailto:neo4zion@gmail.com] 
Sent: Tuesday, October 03, 2006 9:15 PM
To: debian-user-digest@lists.debian.org
Cc: Oleg Verych
Subject: Re: Timezone confusion

On 10/3/06, Oleg Verych <olecom@flower.upol.cz> wrote:
try tzselect, it show what time will be after setup.

Thanks for your pointer, Oleg.

I chose tzselect and then 2 for Americas and 36 for Peru. Then I get this here:

Therefore TZ='America/Lima' will be used. 
Local time is now:      Tue Oct  3 03:39:53 PET 2006.
Universal Time is now:  Tue Oct  3 08:39:53 UTC 2006.
Is the above information OK?

And the information is not ok. Local time is actually 10:39 as indicated by 

hwclock
Tue 03 Oct 2006 10:39:53 AM PET  -0.207755 seconds

Any other pointers?
-- 
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself. 



Reply to: