Unix Timestamp Converter
Convert between Unix epoch timestamps and human-readable dates.
Utility
Unix Timestamp Converter
Generated on April 24, 2026
Timestamp → Date
Date → Timestamp
?What is the Unix Timestamp Converter?
A Unix timestamp is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC — known as the Unix epoch. It is the universal time format used by virtually every computer system, database, log file, and programming language for storing and comparing dates. This converter translates bidirectionally between Unix timestamps (in seconds or milliseconds) and human-readable dates in ISO, UTC, and local timezone formats. It is essential for developers debugging logs, analysts processing time-series data, and anyone who has ever received a large integer and wondered what date it represents.
The Formula
Unix time counts seconds (or milliseconds in JavaScript and several APIs) since midnight on January 1, 1970 UTC. This epoch was chosen arbitrarily when the Unix operating system was being designed at Bell Labs. Because the timestamp is a plain integer, time arithmetic (duration, comparison, sorting) becomes trivial — subtracting two timestamps gives seconds elapsed, no timezone math required. This calculator auto-detects seconds vs milliseconds: values below 10^12 are treated as seconds, values above are treated as milliseconds.
Practical Examples
Unix timestamp 1700000000 equals November 14, 2023 at 22:13:20 UTC — a handy reference point for recent logs.
Timestamp 0 represents January 1, 1970 00:00:00 UTC — the beginning of Unix time and a common 'not set' sentinel value.
Timestamp 1609459200 equals January 1, 2021 00:00:00 UTC — useful when filtering for data since the start of 2021.
The current Unix timestamp changes every second; copy the running value when you need 'now' in an API call.
In JavaScript, Date.now() returns the current timestamp in milliseconds, which is the current second × 1,000 plus a few hundred extra milliseconds.
A log line with timestamp 1672531200 corresponds to January 1, 2023 00:00:00 UTC — making log analysis across timezones trivially consistent.