A Unix timestamp — also called epoch time — is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. Because it's a single integer independent of timezone, leap years, and month-length quirks, it's the universal way of passing time between operating systems, databases, and web APIs. This tool recognizes epoch values in seconds, milliseconds (the JavaScript default), and microsecond/nanosecond precision, and converts them to a readable date — and back.
What's the difference between epoch seconds and milliseconds?
Date.now(). This tool automatically detects the unit from the digit count, and also supports 16-digit microseconds and 19-digit nanoseconds.How does timezone affect a Unix timestamp?
What are the ISO-8601 and RFC 2822 formats?
ISO-8601 (e.g. 2026-07-19T14:30:00-04:00) is the machine-parseable, sortable international standard, and the most common format in APIs and databases. RFC 2822 (e.g. Sun, 19 Jul 2026 14:30:00 -0400) is an older, human-readable standard used in email and HTTP headers. This tool generates both automatically in the result card.
Why use epoch time instead of a date string?
Because it's a single integer, an epoch value is extremely fast to compare, sort, and subtract — comparing two dates is just subtracting two numbers. It also carries no localization ambiguity: "07/19/2026" is read differently depending on the country's day/month order, while an epoch value always represents one exact, unambiguous instant.