When the same local time happens twice: preserve both possible instants

A record says 2026-10-25 02:30:00, with its clock identified as Europe/Berlin. That still leaves two possible moments. During the autumn clock change, the local hour repeats. Converting this label to UTC requires knowing which occurrence it represents.

Keep the raw timestamp and both candidates until another part of the evidence resolves them. A converter that silently selects the first occurrence gives you a neat answer, but supplies no evidence that the first occurrence was intended.

Two matching clocks beside a looping teal ribbon on a dark background
Conceptual illustration of a repeated clock label; the hands do not represent the exercise time.

A known zone can still leave two answers

A time zone is a set of rules for relating local clock labels to a reference timeline. A numeric offset, such as +02:00, identifies the difference from UTC for a particular representation. The named zone and the offset are related, but they are not interchangeable pieces of evidence.

PEP 495 describes the repeated interval after a backward clock change as a fold. It distinguishes that from a forward-change gap, when some local labels do not occur. Not every clock transition is one hour.

For this invented record, the two valid interpretations are:

OccurrenceLocal representation with offsetUTC instant
Earlier2026-10-25T02:30:00+02:002026-10-25T00:30:00Z
Later2026-10-25T02:30:00+01:002026-10-25T01:30:00Z

These are two candidate instants, not evidence that the event occurred at any arbitrary point between them. If the source has only minute-level precision, retain that precision around each candidate instead of inventing seconds.

What can select an occurrence?

Look for a numeric offset stored with the same event, a UTC companion field whose meaning is documented, or a sequence anchored to a reliable time reference. Preserve the link between that evidence and the exact record. An offset displayed in today’s interface may not describe the earlier event.

A neighbouring line marked 02:29 does not settle the choice: that minute can repeat too. File order alone also needs a documented ordering rule. A logger might buffer, merge or reorder records, and a manually set clock may not follow the named zone at all. A timezone conversion cannot correct an unknown clock error.

Before converting, establish what the timestamp dates: capture, publication, processing or observation. The post-timestamp guide helps with that first distinction. Here the extra problem remains even after the event meaning and named zone are established.

Twenty minutes can look like minus forty

Extend the fictional scenario. Event A is supported as the first 02:50, with offset +02:00. Event B is supported as the second 02:10, with offset +01:00. A is at 00:50 UTC and B at 01:10 UTC, so B follows A by 20 minutes.

Subtracting only the clock labels gives 02:10 − 02:50 = −40 minutes. That subtraction ignores the backward clock change. Compare the UTC instants after resolving the occurrences. Without the evidence selecting those offsets, do not report the 20-minute interval as established.

Reproduce the two-candidate conversion

Python’s ZoneInfo documentation explains fold=0 and fold=1 for ambiguous times. This short example prints both interpretations for the specific repeated label above. It requires Python 3.9 or later and an available IANA timezone database; on systems without one, the documented tzdata package supplies the rules.

from datetime import datetime, timezone
from zoneinfo import ZoneInfo

zone = ZoneInfo("Europe/Berlin")
for occurrence in (0, 1):
    local = datetime(2026, 10, 25, 2, 30,
                     tzinfo=zone, fold=occurrence)
    print(local.isoformat(), "->",
          local.astimezone(timezone.utc).isoformat())

We ran this snippet locally with Python 3.12.10 and tzdata 2026.6, containing IANA rules 2026f. Both mappings matched the table and converted back to the intended occurrence. A separate calculation confirmed the 20-minute elapsed interval. This tests a synthetic example against the recorded rules; it does not authenticate a device clock or a real event.

The snippet is deliberately narrow. Constructing a datetime with a chosen fold is not a general validity test: Python can also construct labels in a spring gap. If your input is a missing local time, investigate the source or conversion instead of forcing it into one of two occurrences.

Hand over the ambiguity explicitly

Record the original label and precision, event meaning, named zone and its source, candidate offsets and UTC values, rule version or conversion tool, and the evidence selecting an occurrence—or the fact that none is available.

A useful finding for the opening record is: “The stated zone permits 00:30 UTC or 01:30 UTC. The supplied material does not identify the occurrence, so its order relative to an event at 01:00 UTC remains unresolved.” Put both candidates and the missing offset evidence into the investigation report. A single timestamp column should not conceal two different possible histories.

By OSINT Jet · Primary sources reviewed 15 November 2026.