Use it when times are shown in the wrong zone, or daylight-saving changes look wrong.
Time Zones
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.
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.
UTC system clock → /etc/localtime (or TZ) → tzdata rules → local time displayed
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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
timedatectl— time zone and local/UTC timels -l /etc/localtime— linked zone filetimedatectl list-timezones | grep <city>— valid zone namesecho $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/localtimeshould be a symbolic link to a zone file under/usr/share/zoneinfo/, for exampleEurope/BerlinorEtc/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
TZenvironment variable. timedatectlchanges the setting on a running system.
Setting and checking the zone
| Task | Command |
|---|---|
| Show | timedatectl (the "Time zone" line), readlink /etc/localtime |
| Change | timedatectl set-timezone Europe/Copenhagen |
| List | timedatectl list-timezones | grep Europe |
| One command in another zone | TZ=Asia/Tokyo date |
| A service in another zone | Environment=TZ=UTC in the unit |
UTC or local time on servers
| Choice | Advantages |
|---|---|
| UTC on all servers | No DST jumps in logs; easy correlation across regions |
| Local time | Matches 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
| Situation | Effect at the spring-forward hour (02:00 → 03:00) |
|---|---|
| A cron job at 02:30 | Skipped on that day (in most implementations) |
| A systemd timer at 02:30 | Runs at the next valid time |
| Logs | A 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.
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/localtimepoints to a zone ≠ every application uses it; processes can setTZor 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
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.
Quick lookup tables
Time Zones operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Time Zones.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | system UTC clock → timezone selection + tzdata rules → local civil time/offset → application or scheduler zone override → displayed/calendar timestamp → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | 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. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated 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 → workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | Time Zones |
|---|---|
| Topic path | Time & NTP → Time Zones |
| Runtime state | 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. |
| 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 chain | system 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 boundary | 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. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |