Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Timestamp → Date


Date → Timestamp

Unix timestamp (seconds)

What this calculator does

This Unix timestamp converter turns an epoch timestamp into a readable date and time in both your local time zone and UTC, and also works the other way — turning any date and time into its Unix timestamp. It's a common utility for developers debugging logs, APIs, or database records.

Worked example

The timestamp 1788307200 converts to Wednesday, September 2, 2026, 12:00:00 AM UTC.

Common mistakes

  • Mixing up seconds and milliseconds. JavaScript's Date.now() returns milliseconds, while most Unix timestamps in other languages are in seconds — using the wrong unit gives a date wildly off (often in 1970 or centuries in the future).
  • Forgetting timestamps are time-zone-independent. The number itself represents a fixed instant — only its human-readable display depends on which time zone you view it in.
  • Assuming timestamps only work for recent dates. Standard 32-bit Unix time overflows in 2038, but this converter uses JavaScript's larger internal representation, which works well beyond that.

Frequently asked questions

What is a Unix timestamp?+

A Unix timestamp is the number of seconds that have elapsed since midnight UTC on January 1, 1970 (the "Unix epoch"). It's widely used in programming and databases as a compact, time-zone-independent way to store a specific moment in time.

Why do timestamps sometimes have 10 digits and sometimes 13?+

A 10-digit timestamp counts seconds since the epoch; a 13-digit timestamp counts milliseconds (JavaScript's native format). This converter accepts either and auto-detects which one you've entered.

What time zone does the converted date show?+

Your browser's local time zone, alongside the UTC equivalent, since the raw timestamp itself has no time zone — it's the same instant everywhere.

Can I convert a date back into a timestamp online?+

Yes — use the date-to-timestamp field below to enter a date and time and get the corresponding Unix timestamp.

Related calculators