Date: Thu, 25 Sep 1997 09:18:22 +0930 From: Greg Lehey <grog@lemis.com> To: Mail Lists <maillist@home.humboldt1.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: date display Message-ID: <19970925091822.40936@lemis.com> In-Reply-To: <Pine.SOL.3.91.970924085312.29360A@home>; from Mail Lists on Wed, Sep 24, 1997 at 08:58:19AM -0700 References: <Pine.SOL.3.91.970924085312.29360A@home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 24, 1997 at 08:58:19AM -0700, Mail Lists wrote:
>
> Hi....when I run 'date' on a freebsd box I get the right date and time,
> but it displays GMT and I want it to display EST system wide....I saw
> that you could specify a TZ value in your environment, but I want it for
> everyone...would I need to put something in /etc/localtime? It looks
> like that's the place...if so what should I put in there? thanks....
You're on the right track. You have two choices:
1. systemwide.
# cp /usr/share/zoneinfo/America/New_York /etc/localtime
2. Individually
TZ=America/Chicago export TZ
Note that the TZ variable doesn't work the same way under BSD as under
System V.
Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970925091822.40936>
