Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TIMEZONE(4)			 File Formats			   TIMEZONE(4)

NAME
       TIMEZONE	- set default system time zone and locale

SYNOPSIS
       /etc/TIMEZONE
       /etc/default/init

DESCRIPTION
       This  file  sets	the time zone environment variable TZ, and the locale-
       related environment variables LANG, LC_COLLATE, LC_CTYPE,  LC_MESSAGES,
       LC_MONETARY, LC_NUMERIC,	and LC_TIME.

       /etc/TIMEZONE is	a symbolic link	to /etc/default/init.

       The  number  of	environment  variables	that  can be set from /etc/de-
       fault/init is limited to	20.

       The format of the file is:

       VAR=value

       where VAR is a timezone environment variable and	value is the value as-
       signed  to  the variable. value can be enclosed in double quotes	(") or
       single quotes ('). The double or	single quotes cannot be	 part  of  the
       value.

SEE ALSO
       init(1M), rtc(1M), ctime(3C), environ(5)

NOTES
       When  changing  the  TZ	setting	on x86 systems,	you must make a	corre-
       sponding	change to the /etc/rtc_config file  to	account	 for  the  new
       timezone	 setting.  This	can be accomplished by executing the following
       commands, followed by a reboot, to make the changes take	effect:

       # rtc -z	zone-name
       # rtc -c

       where zone-name is the same name	as the TZ variable setting.

       See rtc(1M) for information on the rtc command.

SunOS 5.10			  26 Jun 2003			   TIMEZONE(4)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | NOTES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=TIMEZONE&sektion=4&manpath=SunOS+5.10>

home | help