Utility Descriptions 5-11
An additional environment variable for time zones is also supported. The
TZ variable allows you compensate for time zone differences when
sending and receiving files and when the time stamp on a received file is
critical. This variable only affects transfers done with the Z-modem
protocol. X-modem transfers are not affected. By default, if no time zone
is set, the Datalight utilities COMM and RSZ assume Greenwich Mean
Time (GMT).
Setting the TZ variable is not necessary when using all programs. If you
are transferring files between two Datalight utilities, the file time stamp is
not affected. Some utilities, such as Windows Hyper-terminal,
automatically convert the time stamp on the file to GMT and assumes that
the receiving program will adjust the time to the correct local time upon
receipt.
Syntax
SET TZ= <abbreviation> +|- value
Abbreviation represents any three-letter abbreviation for the chosen time
zone. The variable serves as a reminder to the user. For example, if
setting the time zone for Pacific Standard Time, the variable could be set
as PST; and for Eastern Standard Time as EST. The abbreviation is only
a placeholder in the syntax for the TZ variable. There are no incorrect
abbreviation choices as long as only three letters are used.
Value represents the number of hours this time zone varies from GMT.
For example, the west Coast of the United States is –8 hours relative to
GMT. This value may have to be adjusted to compensate for daylight
savings time. There should be no spaces between the abbreviation, plus
or minus sign, and the value. Some examples are:
SET TZ=PST–8
SET TZ=CMT–3
SET TZ=GMT+2
If an incorrect format for the time zone is entered, the default of GMT is
used.