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.