WebKit / Chromium Time to Unix Timestamp

Blink browsers keep their own clock: microseconds since 1601-01-01 — the epoch Windows FILETIME uses, but a different tick. That single fact explains most "my Chrome history export says 1601" reports, and the widget converts either unit with integer arithmetic before rounding the outputs to the nearest millisecond.

[SEC.01 // CONVERT]

Chromium time (µs since 1601) to Unix

BIGINT · EXACT

Enter a value to see results below. Chromium base::Time counts signed microseconds since 1601-01-01 UTC. Confirm the field’s documented format; digit count alone cannot distinguish it from FILETIME.

Unit on the wire
Unix seconds (s) —
Unix milliseconds (ms) —
ISO 8601 (UTC) —

Chrome History visit_time commonly uses this format. DevTools timestamp fields may instead be Unix seconds or monotonic TimeTicks; check the specific API. The 100 ns option is a FILETIME-compatible view, not Chromium’s native unit. Results round to the nearest millisecond.

[SEC.02 // TWO CLOCKS ONE EPOCH]

Same 1601 epoch as FILETIME, ten times the tick

DIGITS DECIDE

Chromium's base::Time and Windows FILETIME both count from 1601-01-01 UTC, so both need the same offset constant — 11,644,473,600 seconds. They differ only in how finely they cut a second, and that difference is visible in the digit count before you convert anything:

FormatOne tick isDigits today2026-01-01 00:00 UTC
FILETIME (Win32, AD, ETW)100 ns18134116992000000000
base::Time (Chromium, Blink)1 µs1713411699200000000
Unix milliseconds1 ms131767225600000
Unix seconds1 s101767225600
  • Ten ticks apart. Drop the last digit of a FILETIME and you have the WebKit value; append a zero to a WebKit value and you have a FILETIME. The widget has a unit switch for exactly this case, because a pasted number never says which one it is.
  • The offset is shared. unix_seconds = webkit_us / 1_000_000 - 11_644_473_600. Both epochs are 369 years (134,774 days) behind 1970, which is the whole of the magic number.
  • Range is not the problem. base::Time is a signed 64-bit microsecond counter, so it comfortably spans centuries on either side of 1601. What bites is precision: an 18-digit value pasted into parseInt in JavaScript is already corrupted, because it exceeds Number.MAX_SAFE_INTEGER (≈ 9.0 × 10¹⁵).

The name is genuinely ambiguous; confirm the source API and use length only as a contemporary-date clue. Apple's WebKit API surface uses a DOMTimestamp typedef documented as milliseconds since the Unix epoch, while forensic tools talking about a "WebKit timestamp" usually mean Chromium's 1601-based microseconds. 13 digits is the first one, 17 the second. See also the Windows FILETIME page for the 18-digit shape.

[SEC.03 // WHERE IT COMES FROM]

Pulling Chromium times out of a browser profile

HISTORY · PREFS · FORENSICS
  • Chrome / Edge History (SQLite). The visits.visit_time column is microseconds since 1601. The standard read-out: SELECT datetime(visit_time / 1000000 - 11644473600, 'unixepoch') FROM visits; — integer division first, then the offset, then let SQLite print UTC.
  • Preferences and Local State (JSON). Keys such as profile.creation_time are int64 base::Time values (17 digits), while other entries in the same file are Unix seconds. Two epochs in one file, no unit in the key name.
  • Zero means "unset", not "the year 1601". Chromium's default-constructed base::Time() is 0 and is used as a null sentinel throughout the codebase. A decoded 1601-01-01 in an export is almost always a missing value, and a converter that cheerfully prints it is lying by omission.
  • Python. datetime(1601, 1, 1, tzinfo=timezone.utc) + timedelta(microseconds=v). Do not reach for fromtimestamp, which assumes Unix seconds — and do not use int-to-float shortcuts, since 17-digit values lose their tail beyond 2⁵³.

Everything here runs in your browser: a Chrome history value can identify which sites a specific person visited, so it should not be pasted into a server-side converter. The widget does integer BigInt arithmetic locally and prints seconds, milliseconds and ISO 8601 for whichever unit you select.

[SEC.04 // TIME VS TIME TICKS]

Not every Chromium clock can be converted

WALL CLOCK ≠ MONOTONIC

Chromium has two unrelated time types, and only one of them is a timestamp. Confusing them produces numbers that look plausible but describe nothing:

TypeMeasuresConvertible to a date?
base::TimeMicroseconds since 1601-01-01 UTCYes — the widget’s input
base::TimeTicksTicks from an unspecified monotonic originNo — elapsed duration only
base::Time::ToJsTime()Milliseconds since 1970 as a doubleYes; a double can retain fractional milliseconds, with finite precision
base::Time::Null()The zero sentinelNo — decode it as unset, not 1601
  • TimeTicks is monotonic and exists to measure elapsed time without jumps from NTP corrections, DST or a user changing the system clock. Its origin is deliberately unspecified, so there is no offset constant that maps it to a calendar date — the same distinction the Go page draws between a wall clock and a monotonic reading.
  • ToJsTime() returns a double in Unix milliseconds, which can include fractional milliseconds. Its finite precision does not guarantee an exact microsecond round trip. Passing that result into a JavaScript Date then discards sub-ms precision; keep integer source values when every tick matters.
  • Serialization picks the unit. Some JSON profile fields hold integer base::Time microseconds; other fields use different epochs or units. JavaScript-facing APIs commonly expose Unix milliseconds. That is the same 1000× split covered on the Java Instant and milliseconds to seconds pages.
[SEC.05 // PROFILE FIELD MAP]

Which Chrome field uses which clock

HISTORY · BOOKMARKS · DOWNLOADS

Several common Chromium fields store microseconds since 1601, but a profile is not a single timestamp schema. Units and sentinel meanings depend on the field and browser version; inspect the producing code before converting:

WhereFieldUnit
History (SQLite)visits.visit_time, urls.last_visit_timeµs since 1601
Bookmarks (JSON)date_added, date_last_usedµs since 1601
Downloads / Login Datastart_time, date_createdµs since 1601
Preferences (JSON)profile.creation_timeµs since 1601
Other Preferences / Local State entriesfield-specificCheck schema; not uniformly base::Time
  • One file, multiple representations. Preferences can mix epochs and units. Check the field schema first; digit count is only a contemporary-date clue — the timestamp to date page has the full 10/13/16/19-digit table.
  • SQLite prints UTC unless told otherwise. datetime(visit_time / 1000000 - 11644473600, 'unixepoch') is UTC; appending 'localtime' bakes the machine zone into stored text. The SQL dialects page explains why that breaks portability across MySQL, Postgres and SQLite.
  • Apple is a third epoch. Core Data / NSDate counts from 2001-01-01, not 1601 or 1970 — see the Cocoa page. Windows 100 ns ticks are on the FILETIME page. A prefix such as 134 does not distinguish 1601 microseconds from 100 ns FILETIME ticks: confirm both the unit and the full value.
  • Verify an anchor. In µs mode, 13411699200000000 should produce 1767225600 and 2026-01-01T00:00:00.000Z. For an independent reverse check, calculate (1767225600 + 11644473600) * 1000000 with integer arithmetic; this widget does not take Unix seconds as reverse input.
[DOC.FAQ // INDEX]

ANSWERS

07 ITEMS
01 How do I convert a WebKit timestamp to a Unix timestamp?

Divide by 1,000,000 to get seconds since 1601, then subtract 11,644,473,600: unix_s = webkit_us / 1000000 - 11644473600. For 2026-01-01 00:00 UTC that is 13411699200000000 µs → 1767225600 s. Do it in integer arithmetic — the 17-digit input is past JavaScript's safe-integer limit.

02 Is a WebKit timestamp the same as FILETIME?

Same epoch (1601-01-01 UTC), different tick: WebKit/Chromium counts microseconds, FILETIME counts 100-nanosecond intervals. A FILETIME is therefore ten times larger and has one more digit. Multiply a microsecond value by 10 to get the FILETIME spelling of the same instant.

03 What is the Chromium timestamp for 2026-01-01?

13411699200000000 microseconds since 1601. In µs mode, the widget prints Unix seconds, milliseconds and ISO 8601 for that input. The corresponding FILETIME is 134116992000000000 100 ns ticks; it is not a separate output row.

04 Why does my converted Chrome history date say 1601?

The stored value is 0. Chromium uses 0 as "no timestamp" (a default-constructed base::Time), so unset columns in History, Preferences and crash metadata decode to the epoch itself. Treat 1601-01-01 in an export as null, not as a date.

05 Does "WebKit timestamp" ever mean Unix milliseconds?

Yes — Apple's DOMTimestamp typedef in the WebKit IDL is milliseconds since 1970, which is a completely different clock from Chromium's internal base::Time. For contemporary dates, 13/17/18 digits suggest Unix ms / Chromium µs / FILETIME respectively, but only the source definition establishes the format.

06 Can I convert a base::TimeTicks value to a date?

No. base::TimeTicks is a monotonic duration clock with an unspecified origin, used for elapsed-time measurements that must not jump when the system clock changes. Only base::Time (microseconds since 1601-01-01 UTC) can be converted to a calendar date.

07 Which Chrome profile fields store microseconds since 1601?

visits.visit_time and urls.last_visit_time in History, date_added in Bookmarks, start_time in Downloads and profile.creation_time in Preferences are all base::Time microseconds. Other Preferences fields can use different epochs or units; confirm the exact field and browser version, using digit count only as a sanity check.

[SEC.MATRIX // RELATED]

Related tools

3 PAGES

Sources and specifications