Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 1999 09:06:56 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Kelly Yancey <kbyanc@alcnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: proper way to set TZ?
Message-ID:  <Pine.SC5.4.10.9903180902360.26476-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <Pine.BSF.4.05.9903171204240.37026-100000@kronos.alcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Mar 1999, Kelly Yancey wrote:

> 
>   I have a couple of scripts which rely on TZ being set to the server's
> time zone. What is the proper was to do this so I don't have to put a
> TZ=EST; export TZ before invoking any of the scripts.
>   Is there a startup script that this should be in? If so, which one?

TZ is a SysV mechanism. What are you trying to do, exactly? If you
really want to get it, I suppose one way of doing it is to get the
output of:

	date '+%Z'

--
Jonathan Chen                         | "Vini, vidi, velcro...
                                      |    I came, I saw, I stuck around"



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.SC5.4.10.9903180902360.26476-100000>