>> It depends whether you have /usr/share/lib/zoneinfo/localtime as
>> a hard link to, say, .../zoneinfo/Europe/London. If you do,
>> unsetting TZ will revert you back to local time. If you don't,
>> it will revert you to UTC.
>
> Solaris doesn't have /usr/share/lib/zoneinfo/localtime. It has
> /etc/TIMEZONE.
It's true that the distribution doesn't come with the file
/usr/share/lib/zoneinfo/localtime, but 'zic -l ZONENAME' on
Solaris 2.6 and Solaris 7 will create this file which the 'zic'
manual indicates will set ZONENAME as the local time:
-l "localtime"
Use the given time zone as local time "localtime".
zic will act as if the file contained a link line
of the form:
Link "localtime" localtime
In reality, however, this file is a no-op and the TZ set in /etc/TIMEZONE
determines the machine's default timezone.
___________________________________________________________________________
Ephraim Silverberg, CSE System Group, Phone number: 972-2-6585521
Hebrew University, Jerusalem, Israel. Fax number: 972-2-6585439
WWW: http://www.cs.huji.ac.il/~ephraim E-mail: ephraim@???