Date: Fri, 1 Aug 1997 13:47:22 +0930 (CST) From: Greg Lehey <grog@lemis.com> To: sef@Kithrup.COM (Sean Eric Fagan) Cc: hackers@freebsd.org (FreeBSD Hackers) Subject: Re: date(1) Message-ID: <199708010417.NAA08639@freebie.lemis.com> In-Reply-To: <199708010415.VAA13820@kithrup.com> from Sean Eric Fagan at "Jul 31, 97 09:15:09 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Eric Fagan writes: > In article <199708010239.MAA08318.kithrup.freebsd.hackers@freebie.lemis.com> you write: >> Now here's an enhancement that I *would* like to see: specify a >> timezone file to use. Something like: >> >> $ date -z /usr/share/zoneinfo/Asia/Tokyo >> >> to give you the current time in Tokyo. > > You can already do that, using $TZ. > > E.g., > > kithrup 1% date > Thu Jul 31 21:11:01 PDT 1997 > kithrup 2% env TZ=Asia/Tokyo date > Fri Aug 1 13:11:21 JST 1997 Just what I need. Thanks! Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708010417.NAA08639>