Convert between Unix timestamps and human-readable dates. Live current timestamp included.
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, known as the Unix epoch. It is the standard way computers store and compare dates because it is a single integer with no timezone ambiguity.
Unix timestamps are used in APIs, databases, log files, file systems, and programming languages worldwide. JavaScript's Date.now() returns milliseconds since the epoch, while most server-side systems use seconds.
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC — known as the Unix epoch. It's a universal standard used in programming, databases, and APIs to represent time as a single number.
For example, the timestamp 1700000000 represents November 14, 2023 at 22:13:20 UTC. JavaScript uses milliseconds (13 digits), while most other systems use seconds (10 digits).
| Timestamp (seconds) | Date & Time (UTC) | Significance |
|---|---|---|
| 0 | Jan 1, 1970 00:00:00 | Unix Epoch (start) |
| 1000000000 | Sep 9, 2001 01:46:40 | 1 billion seconds |
| 1500000000 | Jul 14, 2017 02:40:00 | 1.5 billion seconds |
| 2000000000 | May 18, 2033 03:33:20 | 2 billion seconds (future) |
JavaScript
Math.floor(Date.now() / 1000)
Python
import time; int(time.time())
PHP
time()
Bash / Linux
date +%s
A Unix timestamp is the number of seconds since January 1, 1970 00:00:00 UTC (the Unix epoch). It is used universally in computing to represent points in time as a single number.
The current Unix timestamp updates in real time on this page. It represents the total seconds elapsed since the Unix epoch (January 1, 1970).
Unix timestamps in seconds are 10 digits long. In milliseconds (used by JavaScript Date), they are 13 digits. Divide milliseconds by 1000 to get seconds.
ISO 8601 is an international standard for date/time format: YYYY-MM-DDTHH:mm:ssZ. It is unambiguous and timezone-aware, making it ideal for APIs and data exchange.
Yes. Switch to 'Date to Timestamp' mode, enter a date and time, and the tool will return both the seconds and milliseconds Unix timestamp values.
The current Unix timestamp changes every second. Use this page to see the live timestamp. Unix time counts the total seconds elapsed since January 1, 1970 00:00:00 UTC (the Unix epoch).
Use Math.floor(Date.now() / 1000) to get the current timestamp in seconds. JavaScript's Date.now() returns milliseconds, so divide by 1000. For milliseconds, just use Date.now().
Epoch time is another name for Unix timestamp — the number of seconds since January 1, 1970 00:00:00 UTC. It's used universally in computing because it's timezone-independent and easy to store as a single integer.
Explore our collection of free online tools