Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates.
Current Unix Timestamp
1773828972
Unix Timestamp → Date
Date → Unix Timestamp
Related Tools
What is Unix Time?
Unix time (also called epoch time or POSIX time) counts the number of seconds elapsed since January 1, 1970, 00:00:00 UTC — a moment known as the Unix epoch. It was standardized alongside the Unix operating system at Bell Labs and has since become the universal time representation in software.
Because Unix timestamps are timezone-agnostic integers, they are ideal for storing and transmitting dates in APIs, databases, and logs. Converting to a human-readable date only happens at display time, using the viewer's local timezone — which is why the same timestamp shows a different clock time in New York and Tokyo.
Reference Timestamps
| Event | UTC Date | Timestamp (s) |
|---|---|---|
| Unix Epoch | Jan 1, 1970 00:00:00 UTC | 0 |
| Y2K | Jan 1, 2000 00:00:00 UTC | 946684800 |
| iPhone launch | Jan 9, 2007 18:00:00 UTC | 1168365600 |
| 1 billion seconds | Sep 9, 2001 01:46:40 UTC | 1000000000 |
| 1.5 billion seconds | Jul 14, 2017 02:40:00 UTC | 1500000000 |
| 1.7 billion seconds | Nov 14, 2023 22:13:20 UTC | 1700000000 |
| 2038 overflow (32-bit) | Jan 19, 2038 03:14:07 UTC | 2147483647 |
Get the Current Timestamp in Code
JavaScript
Math.floor(Date.now() / 1000)
Python
import time int(time.time())
PHP
time()
Go
time.Now().Unix()
Bash
date +%s
PostgreSQL
EXTRACT(EPOCH FROM NOW())
The Year 2038 Problem
The maximum 32-bit signed integer (2,147,483,647) corresponds to January 19, 2038 at 03:14:07 UTC. Systems storing timestamps as 32-bit integers will overflow at that moment, potentially jumping to 1901. Modern 64-bit systems are unaffected — they can represent dates up to year ~292 billion. If you maintain legacy C/embedded code using time_t as a 32-bit integer, migration to 64-bit is recommended before 2038.