Unix timestamp converter

Convert between Unix timestamps and an exact UTC date.

UTC is the shared reference time used worldwide. It does not change for daylight saving time; your local clock may differ.

Use the unit named by the app or file you copied from.

A minus sign is allowed. Seconds accept up to 3 decimal places.

Enter your timestamp or UTC date to see the result.

Tell us what happened and what you expected. Please leave out personal information and private tool inputs.

These details describe your setup. They don’t include your name, email, or anything entered into the tool.

See the details included

Voting-limit status from this browser is included. Reports are stored by Netlify so I can investigate.

A date written as a number

Select the source unit, Seconds or Milliseconds, then paste the timestamp. The familiar date comes first, followed by the computer values in seconds and milliseconds. AM/PM is the default; choose 24-hour time if you need it. For the reverse direction, choose A date and time, then enter a date and time labeled UTC.

Representation The same instant
Seconds 1700000000
Milliseconds 1700000000000
UTC November 14, 2023 at 10:13:20 PM
ISO 8601 2023-11-14T22:13:20.000Z

Enter timestamps without commas. A negative value is before 1970; −0.001 seconds is the final millisecond of 1969 in UTC.

How Unix time is counted

Zero is January 1, 1970 at midnight UTC. This tool follows the ECMAScript time-value definition, counting milliseconds without leap seconds. Decimal seconds are parsed into integer milliseconds before conversion, avoiding rounding at the last digit.

The supported range is 0001-01-01T00:00:00.000Z through 9999-12-31T23:59:59.999Z. A timestamp outside it shows an error. No values are stored or put in the page address.

If you need to move whole calendar dates instead of convert an instant, use the Date calculator.

FAQs

Should I choose seconds or milliseconds?

Use the unit defined by the system that produced the value. Milliseconds are 1,000 times seconds. The tool does not guess from the number of digits; changing the unit converts a valid entered value to preserve its instant.

Can a Unix timestamp be negative?

Yes. Negative values describe instants before January 1, 1970 UTC. A value of -1 second is December 31, 1969 at 23:59:59 UTC.

Why is the result in UTC?

UTC gives one unambiguous reference. A local clock time can be repeated or skipped when time-zone offsets change. Reverse conversion also takes UTC, so your browser’s local zone does not change the answer.

Will dates after 2038 work?

Yes, within the tool’s year 0001 to 9999 range. Some other systems use smaller integer storage and have different limits.

How much precision is supported?

Whole milliseconds, or seconds with up to three decimal places. Leap-second labels such as 23:59:60, scientific notation, and comma-separated numbers are not accepted.

Have an idea for a tool I should add? Send it in. I read every suggestion and choose which ones to build next.

For example: "Count the weekdays until a date, without holidays."

Please don't include your name, email, or anything personal. I don't need it. Voting-limit status from this browser is included.