Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 21:57:37 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Bob Perry <rperry4@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Time Zone
Message-ID:  <20030408195737.GA94357@falcon.midgard.homeip.net>
In-Reply-To: <003201c2fe08$4a29c4c0$0501a8c0@masai>
References:  <3E92D052.26738.F4884A@localhost> <003201c2fe08$4a29c4c0$0501a8c0@masai>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 08, 2003 at 03:51:45PM -0400, Bob Perry wrote:
> 
> ----- Original Message -----
> From: "Jerad Hampton" <jerad.hampton@kingsu.ca>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Tuesday, April 08, 2003 3:36 PM
> Subject: Time Zone
> 
> 
> > I was wondering if anyone knew how to change the time zone of a 4.6  box
> to UTC?
> > I can't seem to be able to.
> 
> I believe you can accomplish this using the date function (-u option).
> Check out man date(1).

The -u option for date(1) only allows you to set/display the time
relative UTC instead of relative the local time zone.  It does not
change what time zone FreeBSD considers itself in.

Reading the tzsetup(8) and adjkerntz(8) manpages should provide useful
information on how to set the time zone correctly.



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408195737.GA94357>