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

daylight savings / time zone issue



Sven Joachim put forth on 11/1/2009 3:59 AM:
> On 2009-11-01 10:54 +0100, Sven Joachim wrote:
> 
>> On 2009-11-01 10:33 +0100, Stan Hoeppner wrote:
>>
>>> It appears to be correct now.  One question though... shouldn't my
>>> hwclock be set to UTC, which in my case would be 6 hours difference?
>>> Below shows only one hour...
>>>
>>> greer:/# date
>>> Sun Nov  1 03:32:06 CST 2009
>>> greer:/# hwclock
>>> Sun Nov  1 04:32:10 2009  -0.917266 seconds
>> It is not documented in the manpage, but running hwclock without
>> arguments seems to be equivalent to using the "--show" option, and that
>> always displays local time even if your clock runs on UTC.
> 
> While that is correct in itself, it does mean that there should be _no_
> difference in the time that "date" and "hwclock" report.  Your problem
> is that you're not actually using UTC.

greer:/# hwclock -u
Sun Nov  1 00:01:58 2009  -0.768332 seconds

Hmm...  4 hours difference, not 6.  I'm really confused now.

--
Stan


Reply to: