Skip to content

Unix Timestamp to Date

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds formats.

Unix Timestamp to Date tool

Loading...

Example

Input: Unix timestamp 1700000000 (seconds)

Result: ISO 8601 2023-11-14T22:13:20.000Z, Tuesday in UTC (1700000000000 in milliseconds)

1,700,000,000 seconds after 1970-01-01 00:00:00 UTC is 19,675 days plus 80,000 seconds (22:13:20).

Notable Unix Timestamps

Timestamp (seconds)Date and time (UTC)
01970-01-01 00:00:00
864001970-01-02 00:00:00
10000000002001-09-09 01:46:40
12345678902009-02-13 23:31:30
15000000002017-07-14 02:40:00
17000000002023-11-14 22:13:20
18000000002027-01-15 08:00:00
20000000002033-05-18 03:33:20
21474836472038-01-19 03:14:07

2147483647 is the largest signed 32-bit value, the limit behind the year 2038 problem.

  1. To convert a timestamp to a date, paste or type the numeric Unix timestamp (10-digit seconds or 13-digit milliseconds) into the Timestamp to Date field and tap Convert.
  2. View the converted result displayed in ISO 8601, your local time, UTC, and as a relative time description (e.g., "3 hours ago").
  3. To convert a date to a timestamp, use the Date to Timestamp section, select a date and time using the picker, and tap Convert.
  4. Copy the resulting Unix timestamp in either seconds or milliseconds format using the respective copy buttons.
  5. Reference the live current Unix timestamp counter displayed at the top of the tool for quick comparisons.

Reading a Unix Timestamp as a Date

A Unix timestamp is the number of seconds since midnight UTC on January 1, 1970. Enter one here to see the date and time it stands for. For example, 1700000000 is 22:13:20 UTC on November 14, 2023. It also works the other way, turning a date into a timestamp.

Programs, databases and log files store time this way because a single number is easy to sort and compare. It is also the same everywhere on Earth. Time zones only come in when you show the number as a local date. That is why the tool gives several views at once: ISO 8601, UTC, your local time, the date and time on their own, the weekday, and a relative time such as "3 hours ago".

The most common mistake is mixing up units. JavaScript and many APIs use milliseconds, which gives a 13-digit number today, while most Unix tools use 10-digit seconds. The tool guesses the unit from the size of the number. It also spots microsecond and nanosecond values and says which one it used.

For the reverse, pick a date and time in the Date to Timestamp box. You get the value in both seconds and milliseconds. The picker uses your local time zone.

A live counter at the top shows the current timestamp, and the Now buttons fill in the present moment. Developers who want this next to other tools can use the Unix Timestamp Converter, and the Timezone Converter helps with local times.

Sources

Frequently Asked Questions

Multiply the seconds by 1,000 to get milliseconds, then pass that to a date function, or paste the number here and tap Convert. By hand, divide by 86,400 to get whole days since January 1, 1970. The remainder gives the time of day in UTC. For example, 1700000000 is 19,675 days plus 22:13:20.
Count the digits. A present-day timestamp in seconds has 10 digits, such as 1700000000. In milliseconds it has 13 digits, such as 1700000000000. The tool treats anything above 100 billion as milliseconds, and much larger values as microseconds or nanoseconds, and it tells you when it did so.
Older systems store Unix time as a signed 32-bit number, whose largest value is 2,147,483,647. That moment is 03:14:07 UTC on January 19, 2038. One second later the number overflows and can wrap to a date in 1901. Modern systems use 64-bit time, which avoids the issue.
No. A timestamp marks one instant, and it is the same number in Tokyo and in New York. Only the displayed local time changes. That is why the tool shows the UTC string and ISO 8601 value, which are fixed, next to the local string for your own device.
Yes. Negative values count backward from 1970, so -86400 is midnight UTC on December 31, 1969. This tool accepts negative numbers and converts them like any other. Some older software cannot handle dates before 1970, so check your target system before you store one.

Related Tools

Timezone Converter

Convert times between any world timezones instantly. Supports all IANA timezones with daylight saving adjustments.

Date and Time

Date Difference Calculator

Find the exact number of days, weeks, months, and years between any two dates. Fast and accurate.

Date and Time

Day of the Week Calculator

Find what day of the week any date falls on. Works for past, present, and future dates across centuries.

Date and Time

World Clock

View the current time in multiple cities and timezones simultaneously. Add, remove, and compare world times.

Date and Time

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and dates back to Unix timestamps instantly.

Developer Tools