****RE: ****Changing the Time Zone

Bryan O'Neal BONeal at cornerstonehome.com
Tue Sep 16 21:46:58 MST 2008


The hardware clock is already set to UTC, but the OS has a global offset
of -7 hours set by a time zone.  I wish to set the time zone to UTC so
there is no diferance between the hardware clock and the system clock
and they both are UTC.

-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Craig White
Sent: Tuesday, September 16, 2008 8:49 PM
To: Main PLUG discussion list
Subject: Re: ****RE: ****Changing the Time Zone

On Tue, 2008-09-16 at 20:41 -0700, Bryan O'Neal wrote:
> The date command only changes the time for the user, I was hoping for
a
> global alteration.
> 
> -----Original Message-----
> From: plug-discuss-bounces at lists.plug.phoenix.az.us
> [mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
> Craig White
> Sent: Tuesday, September 16, 2008 8:19 PM
> To: Main PLUG discussion list
> Subject: RE: ****Changing the Time Zone
> 
> On Tue, 2008-09-16 at 19:55 -0700, Bryan O'Neal wrote:
> > The hardware clock is already set to UTC.  I realize that I could
set
> it
> > forward 7 hours and have my timezone set it back seven but that is
> > nasty.  Unless you can use this somehow with hctosys to not only set
> the
> > time but also change the time zone...  Though the man does mention
the
> > command tzset, and that looks promising.  I will let you know.
> ----
> fwiw, I typically use 'date' command to set the time/date and then
> hwclock --systohc to set the hardware clock but I don't know if
setting
> the timezone or utc functions through these commands makes a permanent
> change.
----
you're not tracking...the date command sets the date/time in a user
console but the hwclock command with --systohc writes that to the
hardware clock.

Craig

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list