Unix timestamp converter

Convert Unix timestamps to dates, and dates to timestamps.

  • Development
  • 100% free
  • No sign-up
  • Runs in your browser
Unix timestamp converter
Seconds, milliseconds or any date. Leave empty for the current time.

What is the unix timestamp converter?

The Unix timestamp converter turns epoch time into a readable date and time, in UTC and in your own time zone, and any date into a Unix timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected from the size of the number.

Leave the field empty to see the current timestamp. Results include ISO 8601, which is the safest format to store and exchange dates.

How to use the unix timestamp converter

  1. 1Enter a timestamp, a date, or leave the field empty for now.
  2. 2Read the date in UTC, in your time zone and as ISO 8601.
  3. 3Copy the value you need.

Features

Both directions

Timestamp to date, and date to timestamp.

Unit detection

Seconds, milliseconds, microseconds and nanoseconds.

Time zones

UTC and your local time side by side.

Relative time

See how long ago or how far ahead the date is.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 1 January 1970 00:00:00 UTC, also called epoch time.

Seconds or milliseconds?

PHP, MySQL and most APIs use seconds (10 digits today); JavaScript and Java use milliseconds (13 digits).

What is the year 2038 problem?

Signed 32-bit timestamps overflow on 19 January 2038. Modern systems use 64-bit timestamps.

Does a timestamp have a time zone?

No, it's always UTC. The time zone only matters when it's shown as a date.