Epoch timestamp shortcuts
Copy-ready Unix timestamps in epoch milliseconds and seconds: the current time, 1 hour ago, the beginning of today, this week and more. Also converts any timestamp to a date, and any date to epoch ms, seconds and ISO 8601.
click anything to copy · j/k move, y copy, n now, / search
- Beginning of this minute
- 1 min ago
- 2 min ago
- 3 min ago
- 4 min ago
- 5 min ago
- 10 min ago
- 15 min ago
- 20 min ago
- 30 min ago
- Beginning of this hour
- 1 hour ago
- 4 hours ago
- 24 hours ago
- Beginning of today
- Beginning of yesterday
- 2 days ago
- Beginning of this week
- 7 days ago
- Beginning of this month
- 1 month ago
- 3 months ago
- 6 months ago
- Beginning of this year
- Q1 · Jan 1
- Q2 · Apr 1
- Q3 · Jul 1
- Q4 · Oct 1
pick a date & time
timestamp or phrase → date
What is a Unix timestamp?
A Unix timestamp is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 — a moment known as the Unix epoch. The count is kept in UTC so a given timestamp names the same instant everywhere on Earth: no timezone offsets, no daylight-saving jumps. That makes it the standard way computers store and exchange points in time, and converting to a local date is left to whatever displays it. JavaScript, and many APIs and databases, use the same scheme measured in milliseconds instead of seconds: a timestamp in seconds is currently 10 digits long, while one in milliseconds is 13 digits, which is the quickest way to tell them apart. This page shows epoch milliseconds first with seconds alongside, and converts either direction — timestamp to date, or date to epoch ms, seconds and ISO 8601.
What formats does the converter accept?
Epoch seconds, epoch milliseconds, ISO 8601 strings such as
2026-07-21T10:00:00Z, and natural phrases like
2 hours ago, yesterday 3pm,
last monday 9am or in 30 min. Integers up to
11 digits are read as seconds and longer ones as milliseconds, matching
the digit lengths above. Everything runs locally in your browser;
nothing is sent to a server.