Converters

Convert a Unix timestamp to a date

Unix timestamp converter turns epoch values into readable dates. Developers use it on timestamps from API responses, database rows and server logs: values like 1700000000 that mean little until converted. It tells seconds, milliseconds, microseconds and nanoseconds apart by size, so a JavaScript Date.now() value works as well as a Python time.time() one, and prints the UTC time, the ISO 8601 string, your local time and how long ago or how far ahead that is. 1700000000 is 2023-11-14 22:13:20 UTC, the same instant date -u -d @1700000000 gives. Leave the box empty to see the current time.

How to use Unix Timestamp

  1. Open Unix Timestamp in the Toolbox101 app.
  2. Paste the epoch value into the Unix timestamp box, in seconds or milliseconds. 1700000000 is a ten-digit example.
  3. Read the Output box: which unit it assumed, the value in seconds and milliseconds, the UTC date, the ISO 8601 string, your local time and a relative time.
  4. Click Copy to take the lines you need. With the box empty, the output is the current time.

Worked example

Unix Timestamp returns the output below for this input.

Input

1700000000

Output

Read as: seconds
Seconds: 1700000000
Milliseconds: 1700000000000
UTC: 2023-11-14 22:13:20
ISO 8601: 2023-11-14T22:13:20.000Z

The tool also prints a Local line in your time zone and a Relative line such as "2 years ago". They depend on your clock, so they are left out here.

Check it yourself: open Unix Timestamp and enter the same input.

Frequently asked questions

Does it work with milliseconds as well as seconds?

Yes. The unit is chosen by size: below 10^11 the value is read as seconds, then milliseconds up to 10^14, microseconds up to 10^17 and nanoseconds beyond that. The first line of the output, Read as, says which one it used. 1700000000 is seconds and 1700000000000 is milliseconds, and both give the same date.

How do I know the converted date is correct?

Cross-check against any tool that prints epoch seconds in UTC. 0 is 1970-01-01 00:00:00 UTC and 1700000000 is 2023-11-14 22:13:20 UTC. On GNU systems date -u -d @1700000000 reports the same instant. The UTC and ISO 8601 lines never depend on your time zone.

What time zone do the lines use?

The UTC and ISO 8601 lines are always UTC, which is what epoch time is defined against. The Local line uses your browser's time zone and shows its name. The same input therefore gives the same UTC output everywhere and a different Local line depending on where you are.

How is this different from the Date to Unix converter?

It is the inverse. This tool takes an epoch value and prints dates; Date to Unix takes a date and prints epoch seconds and milliseconds. Paste 1700000000 here for 2023-11-14T22:13:20.000Z, then paste that ISO string into Date to Unix and 1700000000 comes back.

Use Unix Timestamp now

Runs in your browser. Nothing you type is uploaded.