Convert between Unix timestamps and human-readable dates. Handles seconds and milliseconds.
Add this Unix Timestamp Converter to your website or blog for free — just paste this code:
The Unix timestamp converter turns epoch time into a readable calendar date and back again, so developers, data analysts, and anyone working with logs or APIs can quickly make sense of numbers like 1735689600. Paste a timestamp to see the exact UTC and local date, or pick a date to generate the corresponding epoch value. It runs entirely in your browser, so nothing you enter is sent to a server.
A Unix timestamp counts the seconds that have passed since the Unix Epoch — midnight UTC on 1 January 1970. To convert a timestamp to a date, the tool adds that number of seconds to the epoch and formats the result in both UTC and your browser's local time zone. To go the other way, it measures the seconds between your chosen date and the epoch, giving you the exact integer to store in a database or send to an API.
Because many systems report time in milliseconds rather than seconds, the converter detects the magnitude of your input automatically: a 13-digit number is treated as milliseconds and a 10-digit number as seconds. This avoids the common mistake of a date landing thousands of years in the future. Storing time as a single number is popular precisely because it sidesteps time-zone and formatting ambiguity — the same timestamp represents the same instant everywhere in the world, and only the display layer needs to worry about local time and daylight saving.
1735689600 converts to Wed, 01 Jan 2025 00:00:00 UTC — a clean start-of-year value often used in database seeds and cron schedules.Date.now() value such as 1735689600000 (13 digits, milliseconds) is divided by 1000 and resolves to the same instant, showing how seconds and milliseconds line up. Multiplying a seconds value by 1000 converts it back to the millisecond form that JavaScript expects.A Unix timestamp is the number of seconds elapsed since 1 January 1970 00:00:00 UTC (the Unix Epoch). It is widely used in programming and databases.
Standard Unix timestamps are in seconds. JavaScript and many APIs use milliseconds (multiply seconds by 1000). This tool handles both automatically.
The 32-bit Unix timestamp will overflow on 19 January 2038 — known as the Year 2038 problem. 64-bit systems extend this to year 292,277,026,596.