Convert a Unix timestamp to a human-readable date, or a date to a Unix timestamp, in either direction.
Google AdSense Banner
This area will contain advertisements after approval.
Google AdSense Banner
This area will contain advertisements after approval.
A Unix timestamp counts the number of seconds (sometimes milliseconds) that have elapsed since January 1, 1970, 00:00:00 UTC (the 'Unix epoch'). It's a compact, timezone-independent way to represent a point in time, widely used in databases, APIs and log files.
Some systems (like Unix/Linux and most databases) use seconds, while others (like JavaScript's Date.now()) use milliseconds. This tool auto-detects which one you've entered based on magnitude, and always shows both in the result alongside ISO 8601, UTC, local time, and a human-readable relative time.
Converting the timestamp 1700000000 (recognized as seconds, since it's well below the 100-billion millisecond threshold) gives the ISO 8601 value 2023-11-14T22:13:20.000Z, the same instant shown in UTC as 'Tue, 14 Nov 2023 22:13:20 GMT', and the milliseconds field shown as 1700000000000, exactly 1000 times the seconds value.
Assuming a timestamp is always in seconds without checking magnitude, a JavaScript Date.now() value (milliseconds) plugged in as if it were seconds would be misread as a date far in the future, this tool auto-detects based on size, but it's worth sanity-checking the result.
Entering a date without a timezone and assuming it's parsed as UTC, a plain date/time string like '2026-07-28T14:30:00' (no trailing Z) is parsed in your browser's local timezone, add a Z suffix if you specifically mean UTC.
Forgetting the Unix epoch only counts forward from January 1, 1970, dates before that require a negative timestamp, which is valid but easy to overlook when reasoning about very old dates.
Timestamps larger than about 100 billion are assumed to be milliseconds (since a seconds-based timestamp that large would represent a date thousands of years in the future), otherwise the value is treated as seconds.
Standard formats like 2026-07-28, 2026-07-28T14:30:00, or 2026-07-28T14:30:00Z are all accepted, parsed using your browser's native date parsing.
Google AdSense Banner
This area will contain advertisements after approval.