Tools/Unix Timestamp Converter
100% Client-Side • Device Clock

Unix Timestamp Converter

Convert an epoch value to a human date and back. Seconds and milliseconds are detected automatically. Pick a timezone and read ISO 8601, RFC 2822, relative time, and the weekday.

Epoch input

Detected unit: seconds • 1700000000000 ms

Datetime to epoch
In Asia/Calcutta

Wednesday, November 15, 2023 at 3:43:20 AM GMT+5:30

Relative

now

ISO 8601 (UTC)

2023-11-14T22:13:20.000Z

RFC 2822 (UTC)

Tue, 14 Nov 2023 22:13:20 GMT

Day of week

Wednesday

Epoch time in practice

A Unix timestamp counts the seconds since midnight UTC on 1 January 1970. It is a single instant on the timeline with no timezone of its own, which is exactly why it is a good way to store a moment: you decide the display zone later. The catch is unit confusion. Databases and many languages use seconds, while JavaScript and some APIs use milliseconds, so a value that is a thousand times too large usually means milliseconds were read as seconds. This converter assumes milliseconds once a value reaches eleven digits. From an epoch it derives the ISO 8601 string most APIs expect, the RFC 2822 form used in email and HTTP headers, a locale relative phrase, and the weekday in your chosen zone. The datetime field runs the conversion the other way. The live clock updates once per second and is cleared when you leave the page. Pair this with the Cron Generator for schedules or the tools hub for more.

Frequently Asked Questions