unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



settz(8)							     settz(8)



NAME

  settz	- Set system time zone information.

SYNOPSIS

  /usr/sbin/settz

DESCRIPTION

  The settz command sets the system time zone information, based on the
  current /etc/zoneinfo	database configuration.	 If the	/etc/zoneinfo data-
  base is not configured, it sets the system time information as if the	data-
  base is configured to	a Coordinated Universal	Time (UTC) default.

  The settz command does the following:

    +  Calls tzset() to	get current default time zone information

    +  Ignores the TZ environment variable if a	value is set for TZ

    +  Creates a struct	timezone with time zone	offset,	and daylight savings
       information

    +  Calls settimeofday()

  The current system date and time are not changed.

  This command runs automatically when the system is entering a	multiuser run
  level. You should use	it whenever you	change the default time	zone informa-
  tion with the	zic command.

NOTES

  You must have	superuser (root) privileges to use this	command.

SEE ALSO

  Commands: timezone(3), tzset(3), timezone(8),	zic(8)