Docs
Browse Docs
Field guide · Dates and times

Missing or mixed time zones

Timestamps in one column were recorded in different time zones, or carry no zone at all.

What it looks like

Before
logged_atutc_time
2024-01-15 09:00 -05:00·
2024-01-15T14:00:00Z·
2024-01-15 15:00 +01:00·
2024-01-15 09:30·
After
logged_atutc_time
2024-01-15 09:00 -05:002024-01-15T14:00:00Z
2024-01-15T14:00:00Z2024-01-15T14:00:00Z
2024-01-15 15:00 +01:002024-01-15T14:00:00Z
2024-01-15 09:30needs a decision
The first three rows are the same instant written three ways. The fourth has no offset, so it cannot be placed on the same clock without knowing where it was recorded.

How it happens

  • Each office, device, or server stamped events in its own local time.
  • An export dropped the offset and kept only the clock reading.
  • One system stores universal time and another stores local time, and their rows were combined.

What it breaks

  • Events appear out of order, so a reply can seem to arrive before the message it answers.
  • Durations between two timestamps are wrong by whole hours.
  • Events near midnight are counted on the wrong day, which moves daily totals.

How to spot it

  • Look for offsets or zone names on some values and not on others.
  • Compare against a column that should agree, such as a server-side created time. A steady difference of whole hours points to a zone.
  • Group by source and look at the hours of the day when activity happens. A source whose working day seems shifted is probably on another clock.

How to fix it

  • Find the zone each source records in. This is evidence from outside the file, and no rule can recover it from the clock reading alone.
  • Convert every value to one reference, usually universal time, and write the offset explicitly.
  • Keep the original local reading in its own column when the local hour matters, such as opening hours.
  • Flag values with no zone and no known source. Also flag local times in the repeated hour when clocks go back, since they can mean two different instants.

TermsTime zone, Timestamp, ISO 8601, Standardization

Karg checks for many of these when it profiles a file, applies the fixes it is confident about, and sets the rest aside for your review. See how it works, or have our team clean your data for you.