Convert between Unix epoch timestamps and human-readable dates. See current time in multiple formats.
A Unix timestamp (also known as Epoch time, POSIX time, or Unix Epoch) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is a system for tracking time as a running total of seconds, making it simple to calculate time differences.
| Timestamp | Date | Event |
|---|---|---|
| 0 | Jan 1, 1970 00:00:00 UTC | Unix Epoch |
| 1000000000 | Sep 9, 2001 01:46:40 UTC | Billennium |
| 1234567890 | Feb 13, 2009 23:31:30 UTC | Sequential digits |
| 2000000000 | May 18, 2033 03:33:20 UTC | 2 billion seconds |
| 2147483647 | Jan 19, 2038 03:14:07 UTC | Y2K38 (32-bit overflow) |
| Language | Get Current Timestamp |
|---|---|
| JavaScript | Math.floor(Date.now() / 1000) |
| Python | import time; int(time.time()) |
| PHP | time() |
| Java | System.currentTimeMillis() / 1000 |
| Go | time.Now().Unix() |
| Ruby | Time.now.to_i |
| Bash | date +%s |