{
    "mode": "man",
    "parameter": "localtime",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/localtime/5/json",
    "generated": "2026-06-02T17:58:03Z",
    "synopsis": "/etc/localtime -> ../usr/share/zoneinfo/...",
    "sections": {
        "NAME": {
            "content": "localtime - Local timezone configuration file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/etc/localtime -> ../usr/share/zoneinfo/...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The /etc/localtime file configures the system-wide timezone of the local system that is used\nby applications for presentation to the user. It should be an absolute or relative symbolic\nlink pointing to /usr/share/zoneinfo/, followed by a timezone identifier such as\n\"Europe/Berlin\" or \"Etc/UTC\". The resulting link should lead to the corresponding binary\ntzfile(5) timezone data for the configured timezone.\n\nBecause the timezone identifier is extracted from the symlink target name of /etc/localtime,\nthis file may not be a normal file or hardlink.\n\nIf /etc/localtime is missing, the default \"UTC\" timezone is used.\n\nThe timezone may be overridden for individual programs by using the $TZ environment variable.\nSee environ(7).\n\nYou may use timedatectl(1) to change the settings of this file from the command line during\nruntime. Use systemd-firstboot(1) to initialize the time zone on mounted (but not booted)\nsystem images.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), tzset(3), localtime(3), timedatectl(1), systemd-timedated.service(8), systemd-\nfirstboot(1)\n\n\n\nsystemd 249                                                                             LOCALTIME(5)",
            "subsections": []
        }
    },
    "summary": "localtime - Local timezone configuration file",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "tzset",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/tzset/3/json"
        },
        {
            "name": "timedatectl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/timedatectl/1/json"
        },
        {
            "name": "systemd-timedated.service",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/systemd-timedated.service/8/json"
        },
        {
            "name": "firstboot",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/firstboot/1/json"
        }
    ]
}