Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds.Updated 2026-03-16
Current Unix Timestamp
What is a Unix Timestamp?
A Unix timestamp (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It is widely used in programming, databases, and APIs to represent dates in a compact numeric format.
FAQ
What is the Unix epoch?
The Unix epoch is January 1, 1970, 00:00:00 UTC. All Unix timestamps are measured as seconds from this date.
How do I get the current timestamp in code?
JavaScript: Math.floor(Date.now()/1000) | Python: import time; time.time() | PHP: time() | Java: System.currentTimeMillis()/1000
Seconds vs milliseconds timestamp?
Unix timestamps in seconds have 10 digits (e.g. 1710547200). Millisecond timestamps have 13 digits (e.g. 1710547200000). This tool auto-detects both formats.
Rate this tool