Installation guide
syntax:
hh
[ :
mm
[ :
ss
]]
The default is 02:00:00.
The following example of the TZ environment variable specification
specifies:
• EST (eastern standard time) specifies the standard time, which is 5
hours behind GMT.
• EDT (eastern daylight time) specifies the daylight savings time, which
is 4 hours behind GMT.
• EDT starts on the first Sunday in April and ends on the last Sunday in
October; the change to and from daylight savings time occurs at 2:00,
which is the default time.
EST5EDT4,M4.1.0,M10.5.0
You can also specify the following syntax:
:
pathname
The
pathname
variable specifies the pathname of a file that is in the
tzfile file format and that contains the time conversion information. For
example:
:US/Eastern
Refer to the tzfile(4) reference page for more information on the file
format.
If the pathname begins with a slash (/), it specifies an absolute pathname;
otherwise, the pathname is relative to the /etc/zoneinfo directory. If the
specified file is unavailable or corrupted, the system defaults to the offset
stored in the kernel tz structure.
The time zone formats differ for SVID 2 and SVID 3. For SVID 2,
/usr/sbin/timezone creates the /etc/svid2_tz file. The contents of
the TZ and TZC variables are based on the information you supply when
you run /usr/sbin/timezone.
For SVID 3, the /etc/svid3_tz file is created during the installation
process. The contents of the TZ variable is based upon answers you supply
to time zone-related questions at installation time.
Refer to the timezone
(3) reference page for more information.
Refer to Chapter 5 for information about configuring a time zone for your
system.
4–22 Customizing the System Environment