Unix Timestamp Converter

Convert epoch timestamps to dates and dates to timestamps.

Current Unix timestamp—

Timestamp → Date

Your local time—
UTC—
ISO 8601—
Relative—

Date → Timestamp

Seconds—
Milliseconds—

How to use the Unix Timestamp Converter

  1. Paste a Unix timestamp (seconds or milliseconds) to see the date.
  2. Or pick a date and time to get its timestamp.
  3. The current timestamp ticks live at the top.

What is a Unix timestamp?

A Unix timestamp is the number of seconds since 00:00:00 UTC on 1 January 1970 (the “Unix epoch”). It is used by databases, APIs and log files because it is a single number that is the same in every time zone. JavaScript and many APIs use milliseconds instead — 13 digits rather than 10.

The year 2038 problem

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit values, which last for billions of years.

Frequently asked questions

Seconds or milliseconds?

The converter detects this automatically: 10-digit values are treated as seconds and 13-digit values as milliseconds.

Related tools