katlab tools/ticks

.NET Ticks · DateTime Converter

Convert C# DateTime.Ticks to a readable date and back — exact BigInt math, all in your browser.

Everything is processed locally. Nothing is uploaded to a server.
Ticks now (UTC)

Ticks → Date

Date → Ticks

How to convert .NET ticks to a date (free)

Paste a DateTime.Ticks value into Ticks → Date to see it as UTC, local time, ISO 8601 and Unix epoch. Type a date — or a Unix timestamp — into Date → Ticks to get the tick count back. All math is done with exact 64-bit integers (BigInt), so nothing is lost to floating-point rounding.

What is a tick in C# / .NET?

A tick is 100 nanoseconds — there are 10,000 ticks in a millisecond and 10,000,000 in a second. DateTime.Ticks counts ticks since 00:00:00.0000000 on 1 January 0001 (the proleptic Gregorian calendar). A present-day value has 18 digits, e.g. 638702784000000000.

Ticks ↔ Unix epoch cheat sheet

Unix epoch in ticks621355968000000000 (DateTime.UnixEpoch.Ticks)
Ticks per second10,000,000 (TimeSpan.TicksPerSecond)
Ticks per millisecond10,000 (TimeSpan.TicksPerMillisecond)
Ticks → Unix seconds(ticks − 621355968000000000) / 10000000
Unix seconds → ticksseconds × 10000000 + 621355968000000000

In C# itself:

var dt = new DateTime(ticks, DateTimeKind.Utc);
long ticks = DateTime.UtcNow.Ticks;
long unixMs = new DateTimeOffset(dt).ToUnixTimeMilliseconds();

Local time or UTC?

DateTime.UtcNow.Ticks is UTC; DateTime.Now.Ticks is your machine's local wall-clock time, which is offset from UTC by your time zone. This converter assumes ticks are UTC — if your value came from DateTime.Now, the result is shifted by that machine's UTC offset.

Is my data private?

Yes. All parsing and conversion happen in your browser tab. Nothing you enter is sent to a server, and the converter keeps working offline once the page has loaded.