1TIMEZONE(4) File Formats TIMEZONE(4)
2
3
4
6 TIMEZONE - set default system time zone and locale
7
9 /etc/TIMEZONE
10 /etc/default/init
11
12
14 This file sets the time zone environment variable TZ, and the locale-
15 related environment variables LANG, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
16 LC_MONETARY, LC_NUMERIC, and LC_TIME.
17
18
19 /etc/TIMEZONE is a symbolic link to /etc/default/init.
20
21
22 The number of environment variables that can be set from
23 /etc/default/init is limited to 20.
24
25
26 The format of the file is:
27
28 VAR=value
29
30
31
32
33 where VAR is a timezone environment variable and value is the value
34 assigned to the variable. value can be enclosed in double quotes (") or
35 single quotes ('). The double or single quotes cannot be part of the
36 value.
37
39 init(1M), rtc(1M), ctime(3C), environ(5)
40
42 When changing the TZ setting on x86 systems, you must make a correā
43 sponding change to the /etc/rtc_config file to account for the new
44 timezone setting. This can be accomplished by executing the following
45 commands, followed by a reboot, to make the changes take effect:
46
47 # rtc -z zone-name
48 # rtc -c
49
50
51
52
53
54 where zone-name is the same name as the TZ variable setting.
55
56
57 See rtc(1M) for information on the rtc command.
58
59
60
61SunOS 5.11 26 Jun 2003 TIMEZONE(4)