Unix Time Generator
Generate a Unix timestamp
The current timestamp in every precision, ticking, plus generators for a relative time — an hour from now, a token expiry, a cache header — in one click.
Questions people ask
The things that come up about unix time generators, answered plainly.
What is the current Unix timestamp?
It is on the page, updating every second, in all four precisions. Click any of them to copy.
How do I generate an expiry timestamp?
Pick a lifetime from the offsets — 15 minutes, an hour, 30 days — and copy the result. That is the value a JWT `exp` claim or an `Expires` header wants, in seconds.
Related tools
Seconds, milliseconds, microseconds and nanoseconds, in both directions.
Add SecondsSeconds added to an instant, with the resulting Unix timestamp beside the human reading — for anything you are about to put in a token or a cache header.
Date to TimestampType a date any way you like — ISO, a slash date, `next friday`, `now` — and get the timestamp in seconds, milliseconds, microseconds and nanoseconds.
Unix Timestamp ConverterPaste a timestamp and get the date; paste a date and get the timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected from the digit count, and the guess is shown so you can override it.
Random Date GeneratorAs many random dates as you need, in a range, sorted or shuffled, with the format you want — CSV, JSON, SQL literals or Unix timestamps.