Unix Timestamp Converter

Epoch seconds, milliseconds, ISO 8601, RFC 2822 and .NET ticks, converted both ways.

Runs locally · nothing uploaded
Now · Unix seconds 
Now · Unix milliseconds 
Now · UTC 

Result

What it does

Paste any timestamp or date and see it in every common format at once. The input type is detected automatically:

  • Unix time in seconds, milliseconds, microseconds or nanoseconds, chosen by the size of the number (decimals and negative values work too).
  • .NET DateTime.Ticks: 100-nanosecond intervals since 0001-01-01, as returned by DateTime.UtcNow.Ticks or DateTimeOffset.UtcTicks.
  • ISO 8601 dates with or without an offset, including fractional seconds up to nanoseconds and the compact 20240501T123000Z form.
  • RFC 2822 dates as used in email and HTTP headers.

If a number is ambiguous, pick the type explicitly from the menu next to the input.

The result table shows UTC, your local time, any IANA time zone you select, ISO 8601, RFC 2822, Unix seconds, milliseconds, microseconds and nanoseconds, .NET ticks (both the UTC value and the local wall-clock value that DateTime.Now.Ticks would give), a relative time such as “3 hours ago”, and the weekday, ISO week number and day of the year. Every row has a copy button.

Values are kept as exact integers internally, so a nanosecond timestamp or a ticks value converts without the rounding errors of floating-point converters.

Picking a date

Use the date and time picker under the table to go the other way: choose a moment in local time, UTC or the selected time zone and get its timestamp. Times that fall into a daylight-saving gap are moved forward, the same way JavaScript and most date libraries handle them.

Privacy

Everything runs in your browser using the built-in Intl time zone data. Nothing is uploaded; your last input and chosen time zone are remembered on this device.