.NET Ticks Converter
Convert between a .NET DateTime.Ticks value and an ISO 8601 date. Runs entirely in your browser.
How it works
A .NET DateTime.Ticks value counts 100-nanosecond intervals since
0001-01-01T00:00:00 (DateTime.MinValue). The Unix epoch
(1970-01-01) corresponds to exactly 621355968000000000 ticks —
this tool uses that constant to convert to/from standard Unix-epoch-based JavaScript
dates. Because a JavaScript Date only has millisecond resolution, any
sub-millisecond tick precision is truncated when converting to a date.
Examples
| Ticks | Date (UTC) |
|---|---|
621355968000000000 | 1970-01-01T00:00:00Z (Unix epoch) |
0 | 0001-01-01T00:00:00Z (DateTime.MinValue) |
FAQ
Why is the number so much bigger than a Unix timestamp? Ticks are 100-nanosecond units, not seconds — 10,000,000 ticks per second, versus 1 for a Unix timestamp.
What's the maximum supported value? DateTime.MaxValue
(9999-12-31 23:59:59.9999999) — larger values are rejected with a clear error.