.NET Ticks Converter
Convert .NET DateTime ticks (100-nanosecond intervals since year 1) to Unix timestamps and back.
Ticks ⇄ Timestamp
Runs entirely in your browserType in either field — the other updates live.
Uses BigInt internally — regular JavaScript numbers lose precision above 253, which .NET ticks values exceed today.
What are .NET Ticks?
A .NET tick is 100 nanoseconds (one ten-millionth of a second). The .NET DateTime and TimeSpan types measure time as a count of ticks since January 1, year 1, 00:00:00 UTC — not the Unix epoch.
Because that epoch is nearly 1,970 years earlier than Unix time, converting requires a large constant offset: 621,355,968,000,000,000 ticks separate the two epochs.
- 1 tick = 100 nanoseconds = 10-7 seconds
- Epoch: January 1, 0001, 00:00:00 UTC (not 1970)
- Current tick values exceed JavaScript's safe integer limit — this tool uses
BigInt - Read via
DateTime.TicksorDateTime.UtcNow.Ticksin C#
Ticks Format
Divide by 10,000 (after subtracting the epoch offset) to get Unix milliseconds.
How do I convert .NET ticks to a Unix timestamp?
Subtract 621,355,968,000,000,000 (the tick count at the Unix epoch) from the ticks value, then divide by 10,000 to get Unix milliseconds. This converter does that using BigInt math to avoid precision loss.
Frequently Asked Questions
DateTime.UtcNow.Ticks for the current UTC tick count, or DateTimeOffset.UtcNow.Ticks for a timezone-aware equivalent.
Explore All Free Developer Tools
UUIDs, QR codes, barcodes, image tools, converters and more — all free, all client-side.