Convert Unix epoch time to date & time, or any date to a Unix timestamp
| Description | Unix Timestamp | Human Date (UTC) |
|---|
A Unix timestamp (also called Epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is the most common way to represent date and time in programming, databases, and APIs.
For example, the Unix timestamp 1700000000 represents November 14, 2023 22:13:20 UTC.
Most Unix timestamps are in seconds (10 digits). JavaScript uses milliseconds (13 digits). Our converter auto-detects which format you entered. You can also see both values in the result.
Math.floor(Date.now()/1000) Python: import time; int(time.time()) PHP: time() MySQL: UNIX_TIMESTAMP()© 2026 dconverter.org. All Rights Reserved.