Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 10:00:48 +0200 (EET)
From:      Andrew <andrew@soc.lg.gov.ua>
To:        Danny <dannyh@idx.com.au>
Cc:        Martin Brown <mjbjr@beaudesign.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: setting correct timezone?
Message-ID:  <Pine.BSF.3.96.1000309095736.974A-100000@soc.lg.gov.ua>
In-Reply-To: <0003101638550F.00345@freebsd.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

You have to set TZ variable in ~/.login:
setenv TZ value

where value is file in directory /usr/share/zoninfo

for example:

setenv TZ America/Los_Angeles



On Fri, 10 Mar 2000, Danny wrote:

> On Thu, 09 Mar 2000, Martin Brown wrote:
> > As I reported using 'linuxconf' does not result in a change to the proper
> > timezone.  When I open 'linuxconf', the timezone input box is blank.  Then
> > I select 'America/Los Angeles' from the drop down listbox.  All the time
> > and date values are correct.  I click on "Accept", then "Activate
> > changes", then 'Quit".  When I reopen 'linuxconf', the timezone section is
> > again blank.  Additionally, I have tried all possible options: puting in
> > timeservers ip addresses, and selecting "Universal mode", but nothing
> > changes the timezone to the correct one.
> > 
> > I believe that previously, the timezone was correct, i.e., 'PST', but for
> > some reason (RH update?) unknown to me, this change to 'EST' has occurred.
> > 
> > I've been looking at the 'date' command and 'man date', but haven't, yet,
> > determined how to change the timezone.
> > 
> > Any further ideas?
> > 
> > Thanx.
> > 
> > 
> > On Fri, 10 Mar 2000, Danny wrote:
> > 
> > > 
> > > Hello,
> > > 
> > > Iyou can.
> > > 
> > > To change the time zone you are in :-
> > > 
> > > 1)Login as "root"
> > > 2) Type in "linuxconf" On the bottom you should see "date" there you can easily
> > > change the timezone you are in and the date automatcially without the
> > > complexities of using the "date" command.
> > > 
> > > Looking forward to your feedback..
> > > 
> > > dannyh
> > > 
> > > dannyh@idx.com.au
> > > 
> > > On Wed, 08 Mar 2000, mjbjr@beaudesign.com wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > > 
> > > > Well, things have been flakey lately, and now RH6.1 shows the correct date
> > > > and time, but the wrong timezone.  It shows 'EST' instead of 'PST'.
> > > > I've tried the 'control panel' which has no option for timezone, and
> > > > 'linuxconf', but nothing has changed.
> > > > 
> > > > How do I set the correct timezone?
> > > > 
> > > > Thank you foryour help.
> > > > 
> > > >                              - Martin J. Brown, Jr. -
> > > >                              - mjbjr@beaudesign.com -
> > > > 
> > > >                PGP key id#: E87466BB keyserver: certserver.pgp.com
> > > > 
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.0.0 (GNU/Linux)
> > > > Comment: pgpenvelope - http://www.uiuc.edu/ph/www/ftobin/resources.html
> > > > 
> > > > iD8DBQE4xcvMut6K4eh0ZrsRAnnjAJ9eecw2dttL9a1YfqkyKfBb0fu0RQCgrV0x
> > > > 9TfnyqtTvggnQTPCARDXmv4=
> > > > =X0Yy
> > > > -----END PGP SIGNATURE-----
> > > > 
> > > > 
> > > > -- 
> > > > To unsubscribe: mail redhat-list-request@redhat.com with "unsubscribe"
> > > > as the Subject.
> > > --
> > > 
> > > 
> > 
> > 
> >                            - Martin J. Brown, Jr. -
> > 
> >                              - BEAUDESIGN.COM -
> --
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000309095736.974A-100000>