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

Craig White craigwhite at azapple.com
Tue Sep 16 20:49:21 MST 2008


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



More information about the PLUG-discuss mailing list