Unix Timestamp Converter

Convert Unix timestamps to dates and dates to timestamps, in UTC and your time zone.

–
Current Unix timestamp (seconds)

Timestamp → date

Seconds, milliseconds, microseconds and nanoseconds are detected automatically.

Date → timestamp

How to use the Unix Timestamp Converter

  1. Paste a timestamp to see it as a date in UTC and your time zone.
  2. Or choose a date and time on the right to get its timestamp in seconds and milliseconds.
  3. Copy the current Unix time from the top of the page whenever you need it.

About this tool

Databases, APIs and log files store time as a Unix timestamp – the number of seconds since 1 January 1970 UTC. This Unix timestamp converter – also called an epoch converter – turns timestamp to date you can read, in UTC, in your own time zone and in ISO 8601 format, and shows how long ago or how far ahead it is.

It detects the unit automatically: 10 digits are seconds, 13 are milliseconds (as used by JavaScript and Java), and 16 or 19 digits are microseconds or nanoseconds. Going the other way (date to timestamp), pick a date and time, say whether it is in your time zone or UTC, and get the timestamp in seconds and milliseconds. The current Unix time ticks at the top of the page, ready to copy. All conversions are done in your browser using your device's time zone settings.

Frequently asked questions

It is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, called the Unix epoch. It is the same everywhere in the world, which makes it ideal for storing times.

Count the digits: current times have 10 digits in seconds and 13 in milliseconds. The Unix timestamp converter detects this for you and says which unit it used.

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038. Modern systems use 64-bit numbers, which last for billions of years.

No. Unix time ignores leap seconds – every day is exactly 86,400 seconds – which keeps date maths simple.