Unix Timestamp Examples & Reference
Convert between Unix timestamps and dates instantly with our Unix Timestamp Converter.
Current Unix Timestamp
1781324901
Updated on page load — server-generated
Common Timestamps
| Description | Unix Timestamp | Human Date (UTC) |
|---|---|---|
| Unix Epoch | 0 | Jan 1, 1970 00:00:00 |
| Y2K | 946684800 | Jan 1, 2000 00:00:00 |
| January 1, 2025 | 1735689600 | Jan 1, 2025 00:00:00 |
| January 1, 2026 | 1767225600 | Jan 1, 2026 00:00:00 |
| Now (approx) | 1781324901 | 2026-06-13 04:28:21 UTC |
| End of Today | 1781395199 | End of current day (UTC) |
| Start of Next Year | 1798761600 | Jan 1, 2027 00:00:00 |
| 2038 Problem (max 32-bit) | 2147483647 | Jan 19, 2038 03:14:07 |
| Year 2100 | 4102444800 | Jan 1, 2100 00:00:00 |
Timestamps for Common Time Periods
17813248411781321301178123850117807201011778732901174978890117813285011781411301Conversion Formulas
JavaScript / TypeScript
Math.floor(Date.now() / 1000)Get current timestamp
JavaScript
new Date(timestamp * 1000)Convert timestamp to Date
JavaScript
date.getTime() / 1000Convert Date to timestamp
Python
import time; time.time()Get current timestamp
Python
from datetime import datetime; datetime.fromtimestamp(ts)Convert timestamp to datetime
SQL (PostgreSQL)
EXTRACT(EPOCH FROM NOW())Get current timestamp
SQL (MySQL)
UNIX_TIMESTAMP()Get current timestamp
Bash
date +%sGet current timestamp
Bash
date -d @timestampConvert timestamp to date
What is the Unix Epoch?
The Unix epoch (or Unix time, POSIX time) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC), not counting leap seconds. It is widely used in programming and systems for storing and exchanging time values as a simple integer. The Year 2038 problem occurs when 32-bit signed integers, which max out at 2,147,483,647, can no longer represent the current timestamp.