alternate epochs
Every epoch, one instant
Windows FILETIME, .NET ticks, Excel serials, LDAP timestamps, Apple Core Data, Chrome microseconds, GPS time and Julian Day — all derived from the same moment.
source instant
| System | Value | Unit | Copy |
|---|
Each system counts from a different starting instant. FILETIME counts 100-nanosecond ticks from 1601-01-01, .NET ticks from 0001-01-01, Excel from 1899-12-30. The same moment is therefore a different number in each.
Excel’s 1900 date system famously believes 1900 was a leap year. The serial offset of 1899-12-30 absorbs that bug for every date after 1900-03-01 — which is every date you are likely to convert.
Where each format shows up
- Windows FILETIME / LDAP — Active Directory
pwdLastSet,whenCreated, and Win32 APIs. - .NET ticks —
DateTime.Ticksserialized into JSON, common in older ASP.NET APIs. - Excel serial — every spreadsheet date cell; 45000 is somewhere in 2023.
- Core Data — Apple’s persistent store timestamps, seconds since 2001.
- Chrome / WebKit — microseconds since 1601 in Chromium’s
base::Time. - GPS time — seconds since 1980-01-06 with no leap seconds. Subtract 18 to compare with UTC today.
- Julian Day — astronomy, where the day starts at noon UTC.
Precision is limited by the input: a Unix timestamp in seconds has one-second resolution, so the 100-nanosecond systems show trailing zeros. That is expected, not a rounding bug.