Re: daylight savings / time zone issue
On Sun, Nov 01, 2009 at 07:36:34PM -0500, Rob Owens wrote:
> 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
dpkg-reconfigure -plow tzdata
Then select GMT or UTC or whatever.
date -u 110200552009 ; hwclock --systohc
Would do it if you just need to reset a clock : I find I always need to
first to get the format
Hope this helps,
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org