On Fri, Apr 16, 2004 at 12:28:58AM -0400, JJB wrote:
> I know how to set timezone, date and time.
> I am looking for command to display on the console screen the
> systems timezone in this kind of format "-00:00"
> Is there such an command or some way to get this info?
> In an perl script I tried  $timezone= $ENV{TZ}  and I did not get
> 00:00 format which I was looking for.

Try 'date +%z' to get the timezone in the format "+0200".
Not exactly what you asked for, but almost.

<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to