Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates instantly. Paste a timestamp to see local time, UTC, ISO 8601, and relative time — or pick a date to get its epoch value. All conversion happens in your browser.
Timestamp → Date
- Local time
- UTC / GMT
- ISO 8601
- Relative
- Seconds
- Milliseconds
Date → Timestamp
- Seconds
- Milliseconds
Advertisement
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds (or milliseconds) elapsed since January 1, 1970, 00:00:00 UTC — also called the Unix epoch. It is the most common way to represent a point in time in software systems.
Why do some timestamps have 13 digits?
13-digit timestamps represent milliseconds since the epoch, which is common in JavaScript (Date.now()). 10-digit timestamps represent seconds, which is common in Unix/Linux systems and most backend APIs.
What is the maximum Unix timestamp?
The 32-bit Unix timestamp will overflow on January 19, 2038 at 03:14:07 UTC — known as the Year 2038 problem. Modern 64-bit systems extend this limit far into the future.
How do I get the current timestamp in JavaScript?
Use Date.now() to get milliseconds since epoch, or Math.floor(Date.now() / 1000) to get seconds. In most server environments, Date.now() is the simplest option.