Unix Timestamp Converter

Convert Unix timestamps (seconds, milliseconds, micro- and nanoseconds) to human-readable dates and back.

Runs locally in your browser

Current Unix time

 

Unit

About this tool

A Unix timestamp (epoch time) counts the seconds since 1 January 1970, 00:00 UTC. Databases, log files, APIs and programming languages store points in time this way because the number is independent of time zones and date formats. JavaScript and many APIs use milliseconds, some systems even micro- or nanoseconds.

This converter turns timestamps into readable dates – as local time, UTC, ISO 8601, RFC 2822 and relative (“3 hours ago”) – and a date back into a timestamp. The unit is detected automatically from the number of digits. The current Unix time runs at the top, ready to copy.

How it works

  1. Enter a timestamp (e.g. 1700000000) or a date (e.g. 2026-10-13T12:00:00Z) – or use “Pick a date”.
  2. The unit is detected automatically. If needed, set it explicitly under “Unit”.
  3. Read the result in all formats, including weekday, ISO week and day of year.
  4. Copy the value you need with one click.

Frequently asked questions

How can I tell whether a timestamp is in seconds or milliseconds?

By its length: current timestamps in seconds have 10 digits, in milliseconds 13, in microseconds 16 and in nanoseconds 19. This is exactly how the automatic detection works.

What is the year 2038 problem?

Systems that store timestamps as a signed 32-bit number overflow on 19 January 2038 at 03:14:07 UTC. Modern systems use 64 bits and are not affected.

Does a Unix timestamp include a time zone?

No, it is always based on UTC. It is only converted to a time zone for display. That is why the tool shows both your local time and UTC.

What is the difference between ISO 8601 and RFC 2822?

ISO 8601 (2026-10-13T12:00:00Z) is the internationally common, machine-readable format for APIs and JSON. RFC 2822 (Tue, 13 Oct 2026 12:00:00 +0000) comes from e-mail headers and is used e.g. in RSS feeds.

How do I calculate the time between two dates?

Use the Date Calculator. It counts days, weeks, months and working days between two dates.