Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(1)

brc(1M)

ctime(3)

TZ(4)  —  Silicon Graphics

NAME

tz − local time zone

DESCRIPTION

The file /etc/TZ contains the current time zone specification for use by the ctime(3) routines in programs such as date(1) and uucp(1). The file /etc/TZ is an ASCII file which is read by login and rc in order to set the environment variable TZ. 

There are three fields in this file.  There is no character separating these fields and there should be a newline after the last field. 

1.  Three letter abbreviation for standard time zone.
2.  Offset from Greenwich Mean Time, in hours.
3.  Optional three letter abbreviation for Daylight Savings Time.

If you do not want U.S. Daylight Savings Time changes to be handled automatically then omit the third field. The following table illustrates the correct data for the four major U.S. time zones.

U.S. Time Zones
Timezone TZ
Eastern time EST5EDT
Central time CST6CDT
Mountain time MST7MDT
Pacific time PST8PDT

This variable is used by the time conversion routines documented in ctime (3). 

FILES

/etc/TZ

SEE ALSO

login(1), brc(1M), ctime(3). 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026