Location, media and metadata · Lesson 4 of 4
Building a location and media timeline: accuracy, time zones and conflicts
10 min read
A timeline turns hundreds of separate records into a sequence a court or a client can follow. It is also where small technical errors become large factual ones. A wrong epoch moves an event by decades, a wrong time zone sign moves it by hours, and a dropped accuracy radius turns "somewhere in this district" into "at this address". This lesson explains how to normalize timestamps to UTC, where device time and zone come from and how they go wrong, and how to handle accuracy radii and sources that disagree.
Normalize everything to UTC
Every event in a timeline should carry one reference time, in Coordinated Universal Time (UTC), next to the raw value it came from. Local time is added for readability, never used for ordering. The same instant looks very different across artifacts:
| Format | Epoch and unit | Typical sources | Value for 2026-03-10 13:32:07 UTC |
|---|---|---|---|
| Mac absolute time | Seconds since 2001-01-01 UTC | Photos.sqlite, routined, KnowledgeC | 794842327 |
| Unix seconds | Seconds since 1970-01-01 UTC | MediaStore date_added, odlh-storage.db | 1773149527 |
| Unix milliseconds | Milliseconds since 1970-01-01 UTC | MediaStore datetaken, raw location fixes | 1773149527000 |
| QuickTime / MP4 | Seconds since 1904-01-01, intended as UTC | Movie headers | 3855994327 |
| WebKit / Chrome | Microseconds since 1601-01-01 UTC | Chromium browsers (lesson 3.6) | 13417623127000000 |
The date is illustrative. EXIF text times are local, with the offset in a separate tag (lesson 6.2). Each conversion is a fixed offset: add 978,307,200 seconds to Mac absolute time to get Unix time, subtract 2,082,844,800 from QuickTime time, and divide WebKit time by one million before subtracting 11,644,473,600.
Common conversion errors
- Wrong epoch. Reading 794842327 as Unix time gives 1995-03-10 13:32:07, exactly 31 years early.
- Wrong unit. Reading 1773149527 as milliseconds gives 1970-01-21; reading 1773149527000 as seconds gives a year beyond 58,000.
- Wrong offset sign. A local time of 14:32:07 at UTC+01:00 is 13:32:07 UTC. Adding the offset instead of subtracting it gives 15:32:07.
- Daylight saving time. In a zone that moves from UTC+02:00 to UTC+01:00 at 03:00 local time on 25 October 2026, the local time 02:30 occurs twice, at 00:30 and 01:30 UTC. Convert zone-less local times with the IANA time zone database (the tz database) for the right zone, not with a fixed offset. For a time inside the repeated hour the database cannot say which of the two instants is meant. Use an offset tag, a UTC timestamp for the same event or the order of neighboring records; if none exists, report both candidates.
- Display settings. Many tools show times in the workstation's zone by default. Set the tool to UTC and record that setting.
Time zones on the device
A timestamp in UTC needs no zone. A local-time value, such as EXIF DateTimeOriginal or a time shown in an app's interface, needs one, and the device's zone can change. Phones usually set their zone automatically, and a user can set another manually. Look for zone evidence close to each event first, such as the offset tags and Photos.sqlite zone fields of lesson 6.2, then in device-level records.
Where zone and clock evidence is recorded
| Platform | Artifact | What it records | Lesson |
|---|---|---|---|
| iOS | Biome stream Device.TimeZone | Records with a time, a zone name and seconds from GMT; reached back months in published research | 4.4 |
| iOS | ZSECONDSFROMGMT in ZOBJECT, knowledgeC.db | UTC offset of the device's zone when the row was written | 4.4 |
| iOS | PowerLog tables PLLocaleAgent_EventForward_TimeZone and PLStorageOperator_EventForward_TimeOffset | Zone name and seconds from GMT; clock offsets, where a sudden jump can indicate a clock change | 4.6 |
| Android | persist.sys.timezone (getprop output; /data/property/persistent_properties); auto_time and auto_time_zone in settings_global.xml | Zone, and whether clock and zone were automatic, at acquisition; no history | 2.5, 3.5 |
| Samsung | Logging table in Digital Wellbeing's dwbCommon.db | Time zone changes with the previous and new zone, on tested devices | 3.4, 3.7 |
Settings show only the state at acquisition, and the history records are limited in time and not complete, so an empty result does not show that the zone never changed. When you must assume a zone, say so in the timeline.
Clock sources and clock error
Where device time comes from
Phones normally set their clock automatically, from the mobile network (a service called NITZ), from internet time servers (NTP) or, on some devices, from satellite time. Users can turn automatic time off and set any date and time. Every timestamp written from the device clock inherits its error. Some timestamps can come from other clocks:
- GPS time tags. EXIF GPSDateStamp and GPSTimeStamp are defined as the UTC time of the position fix. Whether they are independent of the device clock depends on the platform and on how the fix was obtained. Android guarantees satellite-derived time only for fixes from its GPS provider; other providers may use any clock, most commonly the system clock. Apple does not document which clock is used. Test the same model and operating system version with a deliberately wrong clock before treating these tags as an independent clock.
- Server time. Messaging and cloud services stamp messages on their servers, and some apps store those values next to the device's own time. Which column holds a server time is rarely documented (lesson 5.2 shows this for WhatsApp); establish it by sending between two test phones with one clock set wrong.
Detecting a wrong clock
Compare timestamps from independent clocks for the same event. The strongest reference is a time assigned outside the device, such as a server-assigned message time. A 2026 DFRWS APAC study that changed the clocks of Samsung Galaxy phones found that call logs, voice recordings and web history followed the manipulated clock. Some SMS, messaging, email and cloud artifacts kept an external time that exposed the skew.
If a photo's DateTimeOriginal, converted with its offset, is 13:32:07 UTC and its GPSTimeStamp is 13:32:06 UTC, the two values agree. That supports a correct clock only if testing shows that this device writes GPS time from an independent clock. A GPS time stamp can also reflect an earlier, cached fix, so a small difference in either direction is normal.
Using the offset measured at seizure
At seizure the examiner records the phone's displayed time next to a reference clock synchronized to UTC (lesson 2.1). The difference is the only direct measurement of the device clock, and it is valid for that moment. If the phone was 40 seconds ahead of the reference, a timestamp written from its clock shortly before seizure is probably about 40 seconds later than the true time. Report each time as recorded, state the measured offset, and give any corrected time as a derived value. The further back an event lies, the weaker the assumption that the offset was the same, because automatic time or a user may have changed the clock. For earlier periods, look for clock changes in the records listed above and for a record of the same event from another clock.
Accuracy radii and placing events
A location record is a point, a radius and a time, and all three belong in the timeline. On a map, draw the circle, not only the pin. When comparing records:
- Check overlap. Two near-simultaneous fixes 25 m apart, with radii of 12 m and 35 m, agree. If they are 3 km apart with radii of 50 m, either the device moved or one record is wrong or belongs to another device.
- Check speed. Divide the distance between consecutive fixes by the time between them. A result of 900 km/h on a day with no flight points to an error, a different device or a reference position, such as a cell tower, mistaken for a fix.
- Remember the confidence level. Android's radius is a 68% radius, so a true position slightly outside it is not a contradiction.
Handling conflicting sources
Sources will disagree. Explain each conflict; do not choose the most convenient record.
| Conflict | Likely explanations | What to check |
|---|---|---|
| EXIF capture time and ZDATECREATED differ by exactly one hour | Zone or daylight saving handling; a date changed with the Adjust option in Photos | Offset fields; ZTIMEZONEOFFSET; adjustment records |
| A received file is dated before the sender's message | Different clocks on the two devices | Each phone's offset at seizure; server-assigned times, once testing shows which they are |
| A routined visit at home while photo GPS shows the office | Visit recorded by another device on the account; inferred visit boundaries | ZDEVICE in Cloud-V2.sqlite; raw fixes in Cache.sqlite |
| MediaStore date_added days after the message | Rescan, restore or a later download | generation_added order; the app's own records |
Rank sources by independence and reliability: external clocks over the device clock, measurements over inferences, primary databases over caches derived from them. Record every conflict you cannot resolve in the report; lesson 7.2 covers how to word it.
Presenting uncertainty
A timeline in a report should show the evidence behind each line, in these columns: UTC time, local time with offset, event, source artifact (path, table and row), clock source, precision or accuracy, and notes.
- Give ranges where precision is limited: "between 13:32 and 13:34 UTC" is better than a false single second.
- Label inferred events as inferred: a visit's entry and exit times are boundaries an algorithm chose (lesson 6.1).
- Describe the device, not the person: "the iPhone recorded", not "Lena was".
Applying this to the Corvane case
Combining the artifacts gives this illustrative timeline, with local time at UTC+01:00:
| UTC | Local | Event | Source |
|---|---|---|---|
| Day 1 13:31:52 | 14:31:52 | iPhone fix near the office, radius 12 m | Cache.sqlite ZRTCLLOCATIONMO |
| Day 1 13:32:07 to 13:33:15 | 14:32:07 to 14:33:15 | Three camera photos, GPS error 35 m | Photos.sqlite ZDATECREATED; EXIF |
| Day 1 18:05:30 | 19:05:30 | Call from Lena's iPhone to Victor's phone | Call records on both phones (lessons 4.3 and 3.3) |
| Day 2 09:38:10 | 10:38:10 | iPhone fix near the café, radius 65 m | Cache.sqlite ZRTCLLOCATIONMO |
| Day 2 09:41:22 | 10:41:22 | Three images sent by WhatsApp | Victor's msgstore.db, message.timestamp (lesson 5.2); one row recovered from the WAL of Lena's ChatStorage.sqlite (lesson 5.5) |
| Day 2 09:44:50 | 10:44:50 | Three WhatsApp JPEGs indexed on Victor's phone | MediaStore date_added |
| Day 2 09:52:03 | 10:52:03 | Photos moved to Recently Deleted | Photos.sqlite ZTRASHEDDATE |
The raw fixes survive because the iPhone was acquired on Day 9, within the retention observed for Cache.sqlite (lesson 6.1). The send event rests on Victor's copy of the conversation (message.timestamp 1773222082000) and on the one row recovered on the iPhone (ZMESSAGEDATE 794914882). Lena's main database no longer holds the messages, and the timeline says so. The MediaStore row shows when the files that WhatsApp downloaded were indexed, not a deliberate save by Victor.
For the photos, ZDATECREATED (794842327 for the first) agrees with DateTimeOriginal and OffsetTimeOriginal; GPSTimeStamp is noted as support only. The phones were acquired on Day 9 and about ten weeks after Day 1, so each offset measured at seizure is only weak evidence of the clocks on Day 2. The examiner says so before stating any order of events recorded by different phones. The message's two WhatsApp times help only once a test shows which clock sets each column (lesson 5.2).
Exam focus: Be able to convert Mac absolute, Unix seconds and milliseconds, QuickTime and WebKit timestamps to UTC, and recognize wrong epoch, unit, offset sign and daylight saving errors. Know which timestamps follow the device clock, why GPS time tags need testing before they count as an external clock, and where zone and clock changes are recorded. Know how to use the offset measured at seizure, accuracy radii and conflicting sources in a timeline.
Practice questions
Check your understanding. These questions do not count towards the exam.
Sign in to save your progress and continue where you left off. It is free. Sign in