Convert Unix epoch timestamps to human-readable dates and back. Auto-detects seconds vs. milliseconds.
Unix time (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970 —the Unix epoch. It does not count leap seconds.
Seconds vs. Milliseconds: Traditional Unix timestamps are in seconds (10 digits until 2286). Many systems (JavaScript, Java) use milliseconds (13 digits). This converter auto-detects the format.
Why use Unix timestamps? They provide a timezone-independent, integer-based representation of time —ideal for databases, APIs, and log files. No timezone ambiguity. No DST confusion. Simple comparison with > and < operators.
| 1 second | 1 |
|---|---|
| 1 minute | 60 |
| 1 hour | 3,600 |
| 1 day | 86,400 |
| 1 week | 604,800 |
| 1 year (365 days) | 31,536,000 |