settz - Set system time zone information.
/usr/sbin/settz
The settz command sets the system time zone information,
based on the current /etc/zoneinfo database configuration.
If the /etc/zoneinfo database is not configured, it sets
the system time information as if the database 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 information with the zic command.
You must have superuser (root) privileges to use this command.
Commands: timezone(3), tzset(3), timezone(8), zic(8)
settz(8)
[ Back ] |