# localtime(5) - man - phpman

[LOCALTIME(5)](https://www.chedong.com/phpMan.php/man/LOCALTIME/5/markdown)                                  localtime                                 [LOCALTIME(5)](https://www.chedong.com/phpMan.php/man/LOCALTIME/5/markdown)



## NAME
       localtime - Local timezone configuration file

## SYNOPSIS
       /etc/localtime -> ../usr/share/zoneinfo/...

## DESCRIPTION
       The /etc/localtime file configures the system-wide timezone of the local system that is used
       by applications for presentation to the user. It should be an absolute or relative symbolic
       link pointing to /usr/share/zoneinfo/, followed by a timezone identifier such as
       "Europe/Berlin" or "Etc/UTC". The resulting link should lead to the corresponding binary
       [**tzfile**(5)](https://www.chedong.com/phpMan.php/man/tzfile/5/markdown) timezone data for the configured timezone.

       Because the timezone identifier is extracted from the symlink target name of /etc/localtime,
       this file may not be a normal file or hardlink.

       If /etc/localtime is missing, the default "UTC" timezone is used.

       The timezone may be overridden for individual programs by using the _$TZ_ environment variable.
       See [**environ**(7)](https://www.chedong.com/phpMan.php/man/environ/7/markdown).

       You may use [**timedatectl**(1)](https://www.chedong.com/phpMan.php/man/timedatectl/1/markdown) to change the settings of this file from the command line during
       runtime. Use [**systemd-firstboot**(1)](https://www.chedong.com/phpMan.php/man/systemd-firstboot/1/markdown) to initialize the time zone on mounted (but not booted)
       system images.

## SEE ALSO
       [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown), [**tzset**(3)](https://www.chedong.com/phpMan.php/man/tzset/3/markdown), [**localtime**(3)](https://www.chedong.com/phpMan.php/man/localtime/3/markdown), [**timedatectl**(1)](https://www.chedong.com/phpMan.php/man/timedatectl/1/markdown), [**systemd-timedated.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-timedated.service/8/markdown), **systemd-**
       [**firstboot**(1)](https://www.chedong.com/phpMan.php/man/firstboot/1/markdown)



systemd 249                                                                             [LOCALTIME(5)](https://www.chedong.com/phpMan.php/man/LOCALTIME/5/markdown)
