Answer

How to convert a Unix timestamp to a date

Convert a Unix epoch timestamp to a human-readable date and time, in UTC or your local zone.

A Unix timestamp is the number of seconds since 1 January 1970 UTC (the epoch). To convert it, paste the number into an epoch converter to get the date and time. For example, 1700000000 is Tuesday, 14 November 2023, 22:13:20 UTC.

Input
1700000000
Output
Tue, 14 Nov 2023 22:13:20 UTC

Millisecond timestamps have 13 digits; divide by 1000 to get seconds.

Open the Unix Timestamp → Free · runs in your browser · nothing uploaded

Steps

  1. Open the Unix Timestamp tool and paste the timestamp into the input.
  2. Read the converted date in UTC and in your local time zone.
  3. If your value has 13 digits, it is in milliseconds — the tool detects and handles this.
  4. Use the reverse direction to turn a date back into an epoch timestamp.

Frequently asked questions

Is a Unix timestamp in seconds or milliseconds?
Classic Unix timestamps are in seconds (10 digits today). JavaScript’s Date.now() and many APIs use milliseconds (13 digits). Divide milliseconds by 1000 to get the seconds-based epoch.
What time zone is a Unix timestamp in?
None — a Unix timestamp is an absolute count of seconds since the UTC epoch. It only gains a time zone when you format it for display.