Dates and time zones: how they work
How computers, phones, servers and applications record time: UTC, local time, numerical formats and clock synchronisation.
Every device has an internal clock, usually synchronised over the Internet with reference servers. When it records an event, it saves a value that can be expressed in very different ways.
| Format | What it counts | Where it is found |
|---|---|---|
| Unix timestamp | Seconds (or milliseconds) since 1 January 1970, 00:00 UTC | Linux, Android, many databases and web applications |
| Windows time | 100-nanosecond intervals since 1 January 1601, in UTC | NTFS file system, Windows registry |
| Apple time | Seconds since 1 January 2001, in UTC | Many iOS and macOS databases |
| Text date | Day, month, year, time, sometimes with the zone | Email headers, logs, documents |
| Local time without zone | “Wall-clock” time, with no time zone indication | Some older file systems, many cameras |
Synchronisation
Modern devices continuously correct their clocks by connecting to reference servers. A device that is isolated, has a flat battery or was set by hand may instead accumulate offsets of minutes, hours or years. That is why, during an acquisition, the difference between the device’s clock and a reliable reference time is recorded.
Dates and time zones: the step-by-step procedure
How dates and times are collected, converted and compared in a forensic investigation, documenting every choice.
The pages of this topic
Back to the overviewDates and time zones: the tools
The tools for decoding date formats, converting between time zones and normalising timelines.
Dates and time zones: pitfalls to avoid
Forgotten time zones, ignored daylight saving, confused formats, wrong clocks: the most frequent mistakes in reading digital dates.
Dates and time zones: value in court
Why a time error can decide a case and how to present dates and times derived from devices clearly and verifiably.
Dates and time zones: a case study
A disputed login to a company management system: how a time zone error seemed to incriminate an innocent employee.
Dates and time zones: the checklist
The checks to make on dates and times before putting them into a timeline or an expert report.
Dates and time zones: frequently asked questions
Short answers to the most common doubts about dates and times in digital evidence.