devjar tools
English

Unix Timestamp Converter

A number becomes a date, and a date becomes a number.

Now

Timestamp → date

Unit
UTC
Your time
Relative

Date → timestamp

Time zone
Seconds
Milliseconds
ISO 8601

How to use

  1. Enter a timestamp in the first box to see it in UTC, in your time zone and relative to now. Seconds or milliseconds are detected from the digits.
  2. In the second box pick a date and time and choose the time zone to get the timestamp in seconds and milliseconds.
  3. The “Now” value at the top updates every second. The “Now” button copies it into the timestamp box.

0 is 1970-01-01T00:00:00.000Z and 1700000000 is 2023-11-14T22:13:20.000Z. The 13-digit 1700000000000 is read as milliseconds and gives the same moment. The other way round, 1 January 2000 00:00 UTC is 946684800.

FAQ

How does it tell seconds from milliseconds?

By the digits of the whole part: fewer than 12 digits are seconds, fewer than 15 milliseconds, fewer than 18 microseconds and anything longer nanoseconds. Today’s time is 10 digits in seconds and 13 in milliseconds.

Why is the UTC time different from my clock?

A Unix timestamp has no time zone; it counts seconds in UTC. Your local time is UTC plus or minus your offset, which is why the “Your time” row can differ from the UTC row by several hours.

What is the year 2038 problem?

Systems that store timestamps as signed 32-bit integers cannot go past 2038-01-19T03:14:07Z (2147483647). This tool uses JavaScript numbers, so dates after that convert normally.