Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Time Zones

Direct answer

A time zone tells Linux how to show the UTC system clock as local time, using the IANA tz database (e.g. Europe/Copenhagen). /etc/localtime points to the zone file; applications can override it with TZ.

When to use this

Use it when times are shown in the wrong zone, or daylight-saving changes look wrong.

First 30 seconds

1. timedatectl — zone as intended?

2. Change: timedatectl set-timezone Europe/Copenhagen.

3. App still wrong → TZ variable or its own setting; restart it.

4. DST wrong → update tzdata.

5. Logs/cron use the system zone — confirm.

Operational verification

UTC system clock → /etc/localtime (or TZ) → tzdata rules → local time displayed

Evidence · next step

For Time & NTP → Time Zones, continue with the first unproven Topic check: Record zone name, current numeric UTC offset, UTC time and the exact incident/schedule timestamp being interpreted. If that boundary is healthy, advance to the adjacent check: Resolve /etc/localtime, timezone configuration and tzdata provenance/version; check whether the application overrides TZ or uses UTC. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it when times are shown in the wrong zone, or daylight-saving changes look wrong.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

system UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workload

Healthy evidence: host and relevant process use the intended zone/rules, offsets at incident and future schedule times are correct, and logs/calendar jobs align with expectations.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Record zone name, current numeric UTC offset, UTC time and the exact incident/schedule timestamp being interpreted.

  • Resolve /etc/localtime, timezone configuration and tzdata provenance/version; check whether the application overrides TZ or uses UTC.
  • Test conversion at the actual incident date including DST fold/gap boundaries when relevant instead of assuming today's offset.
  • After changing zone data/configuration, verify application/log/scheduler interpretation and the next intended calendar event.

Verification chain. system UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workload

Step 3 Commands Verify boundary
timedatectl
timedatectl set-timezone Europe/Copenhagen
ls -l /etc/localtime
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: host zone differs from application TZ, stale tzdata changes historical/future offsets, DST fold/gap causes duplicate/missing calendar times, or operators confuse timezone with clock synchronization.

Step 5 Common mistakes Narrow the fault
  • Changing time zone on servers with scheduled jobs without checking them.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

The system clock is UTC; the time zone only changes display. Set it with timedatectl set-timezone. Keep tzdata updated for rule changes. Services may need a restart to pick up a new zone; containers often default to UTC.

Key checks
  • timedatectl — time zone and local/UTC time
  • ls -l /etc/localtime — linked zone file
  • timedatectl list-timezones | grep <city> — valid zone names
  • echo $TZ — per-process override
ReferenceWhat it is1 section · depth on demand

Core model

Treat UTC system time and timezone presentation separately. Resolve /etc/localtime/zone selection and tzdata version, then account for DST transitions and historical rule changes. Verify the exact process or scheduler actually uses the expected zone because applications may override TZ or operate in UTC independently of the host default.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Timezone evidence requires the intended IANA zone and rule set to be used by the relevant process at the relevant timestamp; a correct current display alone is insufficient.

In depth

Time zones: /etc/localtime and TZ

The kernel and most programs count time in UTC, and the time zone only affects how it's shown. The localtime(5) manual page describes the system setting:

  • /etc/localtime should be a symbolic link to a zone file under /usr/share/zoneinfo/, for example Europe/Berlin or Etc/UTC. It mustn't be a copy or a hard link, because the zone name is read from the link target.
  • If the file is missing, UTC is used.
  • A program can use another zone through the TZ environment variable.
  • timedatectl changes the setting on a running system.

Setting and checking the zone

TaskCommand
Showtimedatectl (the "Time zone" line), readlink /etc/localtime
Changetimedatectl set-timezone Europe/Copenhagen
Listtimedatectl list-timezones | grep Europe
One command in another zoneTZ=Asia/Tokyo date
A service in another zoneEnvironment=TZ=UTC in the unit

UTC or local time on servers

ChoiceAdvantages
UTC on all serversNo DST jumps in logs; easy correlation across regions
Local timeMatches users' expectations; schedules follow local hours

Many organisations use UTC for servers, and convert to local time only in dashboards. If servers run in local time, remember that cron and timer jobs at 02:00–03:00 may run twice or not at all at the DST change.

Daylight saving time transitions

SituationEffect at the spring-forward hour (02:00 → 03:00)
A cron job at 02:30Skipped on that day (in most implementations)
A systemd timer at 02:30Runs at the next valid time
LogsA one-hour gap in local timestamps
host$ readlink -f /etc/localtime
/usr/share/zoneinfo/Europe/Copenhagen
host$ sudo timedatectl set-timezone Etc/UTC
host$ date
Sat Nov 28 13:50:12 UTC 2026
host$ TZ=Europe/Copenhagen date
Sat Nov 28 14:50:12 CET 2026
host$ zdump -v Europe/Copenhagen | grep 2027 | head -2
Europe/Copenhagen  Sun Mar 28 00:59:59 2027 UT = Sun Mar 28 01:59:59 2027 CET isdst=0 gmtoff=3600
Europe/Copenhagen  Sun Mar 28 01:00:00 2027 UT = Sun Mar 28 03:00:00 2027 CEST isdst=1 gmtoff=7200
host$ systemctl show report-api -p Environment

Time zone data updates

Zone rules change when governments change their DST policies. The data comes from the tzdata package, and must be kept up to date like any other package. zdump -v shows the exact transition times the system will use.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

Time Zones is part of Time & NTP → Time Zones. Linux Time Zones controls conversion between the system clock and local civil time using a selected IANA zone and timezone database; it affects display and calendar scheduling but does not itself synchronize the clock.

Topic-specific state model. Linux Time Zones controls conversion between the system clock and local civil time using a selected IANA zone and timezone database; it affects display and calendar scheduling but does not itself synchronize the clock.

Interpretation rule. - Correct timezone ≠ accurate system clock; timezone only changes civil-time interpretation/presentation.

  • /etc/localtime points to a zone ≠ every application uses it; processes can set TZ or implement their own timezone rules.
  • UTC offset now ≠ UTC offset on the incident date; DST/historical rules can differ.
  • Changing timezone ≠ harmless scheduling change; cron/calendar timers and logs may shift presentation or next trigger.

Quick reference

Time zones:

timedatectl list-timezones | grep Europe
timedatectl set-timezone Europe/Copenhagen
ls -l /etc/localtime                  # symlink to /usr/share/zoneinfo/…
TZ=America/New_York date
zdump -v Europe/Copenhagen | grep 2026

Servers are often kept in UTC to avoid DST confusion across regions; applications and users convert for display. Time zone data (tzdata package) is updated regularly — keep it current when governments change DST rules.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Timezone evidence requires the intended IANA zone and rule set to be used by the relevant process at the relevant timestamp; a correct current display alone is insufficient.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Time Zones owns UTC-to-civil-time conversion and tzdata. Date / Time owns the system clock; Scheduling owns calendar trigger semantics; applications may own explicit per-process timezone configuration.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Time & NTP → Time Zones. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://chrony-project.org/documentation.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux timezonetzdata linuxetc localtimeDST linux
Embedded reference data

Quick lookup tables

Time Zones operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Time Zones.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateLinux Time Zones controls conversion between the system clock and local civil time using a selected IANA zone and timezone database; it affects display and calendar scheduling but does not itself synchronize the clock.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin exact symptom + clock/trigger time → identify authoritative scheduler or time daemon → read back effective configuration/runtime state → reproduce or observe the expected event/source measurement → correlate identity/environment/offset/status with logs → change one demonstrated cause → read back stable state → repeat original scheduled or time-sensitive workload + regression check.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainsystem UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryTimezone proof requires the intended IANA zone and rule set to be used by the relevant process at the relevant timestamp; a correct current display alone is insufficient.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux scheduling/time evidence can establish this proof path: system UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host, clock/timezone, scheduler or time-daemon instance, identity/environment, source, trigger/measurement interval or workload scope. Timezone proof requires the intended IANA zone and rule set to be used by the relevant process at the relevant timestamp; a correct current display alone is insufficient.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven scheduling/time boundary: preserve the original timing and execution/source context, capture the adjacent scheduler/process or clock/source state, change only the demonstrated cause, then repeat the original scheduled or time-sensitive workload and regression checks.Continue to the next unresolved boundary while preserving the original test condition.

Time Zones · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryTime Zones
Topic pathTime & NTP → Time Zones
Runtime stateLinux Time Zones controls conversion between the system clock and local civil time using a selected IANA zone and timezone database; it affects display and calendar scheduling but does not itself synchronize the clock.
Fast checks- Record zone name, current numeric UTC offset, UTC time and the exact incident/schedule timestamp being interpreted. - Resolve /etc/localtime, timezone configuration and tzdata provenance/version; check whether the application overrides TZ or uses UTC. - Test conversion at the actual incident date including DST fold/gap boundaries when relevant instead of assuming today's offset. - After changing zone data/configuration, verify application/log/scheduler interpretation and the next intended calendar event.
Verification chainsystem UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryTimezone proof requires the intended IANA zone and rule set to be used by the relevant process at the relevant timestamp; a correct current display alone is insufficient. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?