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.

now · epoch seconds
 

click anything to copy · j/k move, y copy, n now, / search

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.