Time Converter

Convert Unix timestamps (s, ms, µs, ns) in every IANA time zone, with ISO 8601, RFC 2822 and DST-aware differences, in your browser. Manual, examples, tips.

Time, timestamps, and time zones in one place

The Time Converter converts between Unix timestamps and readable dates and times, shows the current time live in a range of formats, and calculates time differences between two points in time. No mental arithmetic, no library to install: you type a date or a timestamp, and the other field and the result table follow immediately — there is no Convert button to press.

At its core the tool answers three questions that come up again and again in development and operations: Which date is behind this Unix timestamp? Which timestamp belongs to this date? And: How much time lies between these two moments? On top of that there is a live clock you can view in any IANA time zone and any language.

The Time Converter is built for anyone who handles timestamps regularly: developers who run into bare Unix seconds or JavaScript milliseconds in logs, databases, or API responses; admins tracing cron runs or token expiry times; and anyone who quickly needs to know how a moment looks in another time zone or language.

What the Time Converter does — at a glance

  • Current — a live clock that shows the current time every second in a table of around a dozen formats (Unix timestamp in s and ms, ISO 8601, RFC 2822, HTTP date, localized forms, ISO week). You can stop it with Pause and restart it with Resume, and every row has its own copy button.
  • Convert — two input fields that keep each other in sync: date and time in the selected time zone and a Unix timestamp with automatic unit detection (seconds, milliseconds, microseconds, or nanoseconds). On top of that, a free field for any date text (ISO 8601, RFC 2822, HTTP date) fills both of them. The Server button fetches the server time and tells you how far your device clock is off.
  • Difference — measures the gap between Start and End (or now, updating live) in two ways: as the calendar difference on the wall clock and as the time actually elapsed. Across a daylight saving time change the two differ, and the tool tells you so.
  • Language — all localized output in the language of your choice; your browser's languages are listed first.
  • Time zone — every IANA time zone your browser knows (from Europe/Berlin to Pacific/Kiritimati) plus fixed Etc/GMT offsets, each labeled with its real current UTC offset. The default is your device's time zone.

The tech under the hood

All time logic relies on your browser's Intl API, with the IANA time zone database and the language data the browser ships with. The tool loads no external date library and no locale files. Date fields and ISO text without an offset are read as wall-clock time in the selected time zone, not in your device's zone. The tool detects daylight saving gaps and times that occur twice and reports them, and it rejects a 31 February instead of quietly moving it to March.

Unix timestamps are accepted in seconds, milliseconds, microseconds, and nanoseconds; the tool works out the unit from the number of digits. Date fields and ISO text accept the years 1 to 9999, and historical local mean time from before standard time zones is shown to the second. How the detection works in detail and what to watch for with the Etc/GMT signs is covered in the manual.

Architecture: client-side — with an honest server clock

Converting, comparing, and formatting happen entirely in your browser; the values you enter never leave it. There is exactly one optional server interaction: the Server button queries the endpoint /tools/time/mtime/, which returns nothing but the current server time (PHP's microtime()) as plain text, and compares it with your device clock. Nothing of yours is sent along. The only things stored in your browser are your chosen language and time zone (localStorage), so they are back in place on your next visit.

Try it now

→ Open the Time Converter — pick a tab, type a value, read the result. No account, free, right in your browser.

  • Cron generator — build and understand cron expressions when you want to know when a scheduled run is next due.
  • UUID generator — generate and decode time-based UUIDs (v1, v6, v7) that carry a timestamp inside them.
  • Hash generator — compute checksums, for instance for time-stamped records.

There's more on the sub-pages: the manual with every function and format, real-world examples, and collected tips & tricks.