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

Re: daylight savings / time zone issue



On Sun, Nov 01, 2009 at 10:54:52AM +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.
> 
Can I change my hardware clock to UTC via the linux command line?  It's
currently set to localtime on one of my remote systems.  I read the manpage 
of hwclock but I'm still not sure.  

Does this do it:  

hwclock --systohc --utc

-Rob


Reply to: