Unix timestamp converter

Paste a Unix timestamp to see the date and time in UTC and in your time zone, or pick a date to get its timestamp. Seconds and milliseconds are told apart automatically.

Current Unix timestamp—

Timestamp to date

Read as seconds.

ISO 8601 (UTC)
2023-11-14T22:13:20Z
UTC
Tuesday, November 14, 2023 at 10:13:20 PM UTC
Your local time
—
ISO 8601 with your offset
—
Seconds
1700000000
Milliseconds
1700000000000

Date to timestamp

The date and time are in
Seconds
1767225600
Milliseconds
1767225600000
ISO 8601 (UTC)
2026-01-01T00:00:00Z

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Timestamp to date. Paste the number. The converter says whether it read seconds or milliseconds and shows the moment as ISO 8601 in UTC, as a full UTC date, in your local time and as ISO 8601 with your UTC offset.
  2. Date to timestamp. Pick a date and time and say whether they are in UTC or in your time zone. You get the timestamp in seconds and milliseconds.
  3. The current timestamp at the top updates every second. Copy it, or press Convert this to put it in the field.

How it works

A Unix timestamp counts seconds from 1 January 1970, 00:00:00 UTC, ignoring leap seconds, as Unix systems do. Converting is multiplication: seconds × 1,000 give the milliseconds that JavaScript and many APIs use, and the browser turns those into a calendar date.

  • Values with 12 digits or more are read as milliseconds; shorter ones as seconds. A fraction of a second, such as 1700000000.5, is allowed.
  • Converting a date back gives whole seconds rounded down, as date +%s does.
  • Local time and your offset are shown only in your browser, because only your device knows your time zone.

Worked example

1700000000:

  • 1,700,000,000 seconds is 19,675 days and 80,000 seconds;
  • 19,675 days after 1 January 1970 is 14 November 2023, and 80,000 seconds is 22 hours, 13 minutes and 20 seconds;
  • so the moment is 2023-11-14T22:13:20Z, which is 5:13:20 pm the same day in New York (UTC−5).

The other way: 1 January 2026, 00:00 UTC is 20,454 days after the epoch (56 years with 14 leap days), × 86,400 = 1767225600.

Common mistakes

  • Seconds where milliseconds are expected, or the other way round: the date lands in January 1970 or tens of thousands of years ahead. Check the number of digits.
  • Reading UTC as local time. ISO 8601 strings ending in Z are UTC; compare them with your local time row.
  • To convert a clock time between cities rather than a timestamp, use the time zone converter.

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds since 1 January 1970, 00:00:00 UTC, the Unix epoch. It does not depend on time zones, which is why computers use it to store moments in time.

Is my timestamp in seconds or milliseconds?

A current timestamp in seconds has 10 digits (1700000000) and in milliseconds 13 (1700000000000). The converter reads values with 12 or more digits as milliseconds, because that many seconds would be thousands of years away.

What is the year 2038 problem?

Systems that keep the timestamp in a signed 32-bit number cannot go past 2147483647, which is 19 January 2038, 03:14:07 UTC. Paste that number here to see it.

Can a timestamp be negative?

Yes. Negative values are moments before 1970; -86400 is 31 December 1969, 00:00 UTC.

More in Date & time

All tools in this category: Date & time ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.