Skip to tool

Free · no account · browser only

Unix Timestamp Converter

Paste any Unix timestamp and see the date in your zone, in UTC and in one zone you pick. Seconds or milliseconds are spotted for you.

Your timestamps stay in your browser and are not sent to a NixRey server.

  • Spots the unitSeconds, milliseconds, microseconds or nanoseconds, read from the digit count. Change it in one tap.
  • Your zone, UTC and one moreSee the same moment locally, in UTC and in any city you pick.
  • Copy any rowEvery result has its own copy button, and so does the live clock.

Current Unix timestamp

Seconds
Milliseconds

Timestamp

Unit

Result

Zone and link

Search a city or zone

The link opens this page with the same timestamp and zone.

Get the current timestamp in code

Copy a line for your language.

Math.floor(Date.now() / 1000)

/unix-timestamp-converter

How it works

How to convert a Unix timestamp in four steps.

  1. 1

    Paste a timestamp into Timestamp to date, or pick a date in Date to timestamp.

    The conversion runs in your browser as you type.

  2. 2

    The unit is read from the number of digits, and you can change it if it looks wrong.

    Ten digits are read as seconds and thirteen as milliseconds.

  3. 3

    Pick a zone to see the same moment there, next to your local time and UTC.

    Search the zone list by city or zone name.

  4. 4

    Copy any row, or copy a link that opens this exact result.

    The link keeps the result in the URL hash, and the code lines below the tool can be copied too.

Frequently Asked Questions

Answers about units, zones, daylight saving and the year 2038.

What is a Unix timestamp?

A Unix timestamp (also called Epoch time) is the number of seconds elapsed since 1 January 1970 00:00:00 UTC. It is the standard way computers represent moments in time regardless of timezone.

How do I convert a Unix timestamp to a date?

Paste the timestamp into the Timestamp to date tab. The date and time show instantly in your local zone, in UTC and in any zone you pick.

How do I get the Unix timestamp for a specific date?

Pick a date and time in the Date to timestamp tab and choose whether it is local time, UTC or another zone. The timestamp appears in seconds and milliseconds right away.

Does the tool support millisecond timestamps?

Yes. Seconds, milliseconds, microseconds and nanoseconds are read automatically from the number of digits, and you can change the unit by hand. JavaScript Date.now() gives milliseconds and most Unix tools give seconds.

What is the current Unix timestamp?

The live clock at the top shows it in seconds and milliseconds. Copy either one with a click, or pause the clock first.

What is the year 2038 problem?

Systems that store time as a signed 32-bit number run out on 19 January 2038 at 03:14:07 UTC and wrap to a negative value. This converter uses larger numbers, so it shows dates well past 2038 correctly.