Unix Timestamp to Date

Seeing a raw number like 1700000000 in a log file or database row doesn't tell you much at a glance. This tool converts a Unix timestamp — in seconds or milliseconds — into a clearly formatted, human-readable date and time, shown in both UTC and your local timezone.

Enter seconds or milliseconds — the unit is detected automatically.

Your data stays in your browser — this tool runs entirely on the client side and nothing is uploaded to a server.

How to Use the Unix Timestamp to Date

  1. Paste a Unix timestamp into the input box.
  2. The tool automatically detects whether it's in seconds or milliseconds based on its length.
  3. The equivalent date and time is shown in both UTC and your local timezone.

Turning a number back into a date

Converting a Unix timestamp back to a date reverses the original calculation: it adds the given number of seconds (or milliseconds) onto the Unix epoch of January 1, 1970 00:00:00 UTC, then formats the resulting instant according to a chosen timezone.

Why the displayed date can look "wrong"

If a date looks off by several hours, it is almost always a timezone display issue rather than an incorrect timestamp — the same instant in time is simply a different local date/time depending on where you are viewing it from. Always check whether you're looking at the UTC or local-time version of the result.

Example

Convert 1700000000
1700000000
2023-11-14T22:13:20Z (UTC)

Tips

  • If the resulting date looks wildly wrong (e.g. the year 1970 or far in the future), double-check whether the input was meant to be seconds or milliseconds.
  • Always confirm whether the date you need is in UTC or your local timezone before using it.

Frequently Asked Questions

How do I know if my timestamp is in seconds or milliseconds?

A 10-digit number is almost always seconds; a 13-digit number is almost always milliseconds. This tool detects it automatically based on length.