Manual Page Result
0
Command: settz | Section: 3 | Source: Digital UNIX | File: settz.3.gz
settz(3) Library Functions Manual settz(3)
NAME
settz - Set system time zone information.
SYNOPSIS
settz
DESCRIPTION
The settz command sets the system time zone information, based on the
current zoneinfo database configuration. If the zoneinfo database is
not configured, it sets the system time information as if the zoneinfo
database were configured to default to Coordinated Universal Time
(UTC).
Specifically, it calls tzset() to get current default time zone infor-
mation, ignoring the TZ environment variable, if set, creates a struct
timezone with time zone offset, and daylight savings information, then
calls settimeofday(). The current system date and time are not
changed.
This command is always run the system is entering a multiuser run level
and should be run whenever default time zone information has been
changed by the zic command.
NOTES
You must have superuser privileges to use this command.
RELATED INFORMATION
Commands: timezone(3), tzset(3), timezone(8), zic(8) delim off
settz(3)