Got My Tools

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates, in UTC or your local time zone.

Timestamp → Date

Date → Timestamp

All conversions happen locally in your browser using your device's clock and time zone data.

What a Unix timestamp is

A Unix timestamp counts the number of seconds (or milliseconds, depending on the system) that have elapsed since the "Unix epoch" — midnight UTC on January 1, 1970. Because it's a single number with no time zone attached, it's the format most programming languages, databases, and APIs use internally to store a moment in time unambiguously.

Seconds vs. milliseconds

Unix (POSIX) time is defined in seconds, but JavaScript's Date.now() and many web APIs use milliseconds instead — which is why the same moment can look like 1735689600 in one system and 1735689600000 in another. Always check which unit an API expects before feeding it a raw timestamp.

Worked example

The timestamp 1704067200 (seconds) corresponds to January 1, 2024, 00:00:00 UTC — but converts to a different wall-clock time depending on which time zone you view it in, which is exactly why storing timestamps as raw numbers rather than formatted local strings avoids a whole class of time zone bugs.

Frequently asked questions

How does it know if my timestamp is in seconds or milliseconds?+

By magnitude — a seconds-based timestamp for any date since 2001 is well under a trillion, while a milliseconds-based one for any date after 1970 is well over it. Auto-detect uses that threshold, or you can force either unit explicitly.

What time zone is the date input in?+

Your browser's local time zone, shown next to the field. The result panel also shows the equivalent time in UTC for reference.

Does this use my device's clock?+

Yes — the "Now" button and all conversions use your device's local clock and time zone data, computed entirely in your browser.