Current Unix Timestamp

See the current Unix timestamp in seconds, ms, µs, and ns

Ad placeholder (leaderboard)

The live current Unix timestamp, in four units

This tool shows the current Unix timestamp right now and keeps it ticking, presenting the same instant in seconds, milliseconds, microseconds, and nanoseconds. It is built for developers who need a quick epoch value to paste into an API call, a database record, a test fixture, or a log query.

How it works

Unix time counts the number of seconds since the epoch — 00:00:00 UTC on 1 January 1970. JavaScript’s clock reports milliseconds since that epoch, so the tool reads that millisecond value and derives the other units from it. Seconds are floor(ms / 1000). Microseconds are ms * 1000 and nanoseconds are ms * 1000000.

Because the browser clock resolves only to the millisecond, the sub-millisecond digits in the microsecond and nanosecond figures are effectively zero-padded — they give you the right unit and magnitude for a system that expects them, not genuine sub-millisecond precision. The display refreshes about twenty times per second so the lower units visibly count up. A UTC ISO timestamp is shown underneath so you can confirm the human-readable moment the number represents.

Tips and notes

Use the seconds value for most Unix APIs and cron-style systems, and the milliseconds value for JavaScript Date, many logging systems, and JSON payloads. The one-click copy buttons put exactly the unit you need on the clipboard. If you need to add or subtract from a specific moment rather than read the current one, pair this with the date duration calculator.

Ad placeholder (rectangle)