Unix Timestamp Converter
Convert Unix timestamps to readable dates and dates back to epoch seconds or milliseconds, in any timezone.
Unix timestamp (s) 1700000000
Unix timestamp (ms) 1700000000000
ISO 8601 (UTC) 2023-11-14T22:13:20.000Z
RFC 2822 (UTC) Tue, 14 Nov 2023 22:13:20 +0000
UTC 2023-11-14 22:13:20 (UTC+00:00)
Day of week Tuesday
ISO week 2023-W46
Day of year 318
Read input as Unix timestamp (seconds)
Output is valid and updates as you type.
Fix the highlighted fields to update the output.
Paste a Unix timestamp to see the date it stands for, or type a date to get its epoch value. The converter works out whether a number is in seconds, milliseconds, microseconds or nanoseconds and shows the result in UTC and the timezone you pick. Nothing is sent to a server.
How to use
- Enter a timestamp such as
1700000000, a date such as2026-09-17 14:30, ornow. - Pick a timezone. Dates you type without an offset are read as local time in that zone.
- Open More options if a number is in a unit that auto-detection gets wrong.
- Copy the result or share a link that reopens the same conversion.
Example
The timestamp 1700000000 converts to:
Unix timestamp (s) 1700000000
Unix timestamp (ms) 1700000000000
ISO 8601 (UTC) 2023-11-14T22:13:20.000Z
RFC 2822 (UTC) Tue, 14 Nov 2023 22:13:20 +0000
Pitfalls
- JavaScript’s
Date.now()returns milliseconds, while PHP’stime()and most databases use seconds. Mixing them puts dates in 1970 or far in the future. - A timestamp is always UTC. The timezone only changes how the same moment is displayed.
- Dates without an offset are ambiguous.
2026-03-08 02:30does not exist in New York because clocks skip that hour. - 32-bit systems that store seconds in a signed integer overflow on 19 January 2038.
Compatibility
Accepts integer and decimal timestamps, ISO 8601 dates with optional time, fractional seconds and Z or ±HH:MM offsets, and RFC 2822 date text. Supported dates run from year 1 to year 9999. Timezone data comes from your browser.
Frequently asked questions
What is a Unix timestamp?
How do I get the current timestamp?
now in the input. In code, use time() in PHP, Math.floor(Date.now() / 1000) in JavaScript or date +%s in a shell.How does auto-detection choose the unit?
How do I convert a timestamp in WordPress?
wp_date( 'Y-m-d H:i', $timestamp ), which formats the timestamp in the site’s timezone setting.