Date to Unix Timestamp Converter

Turn any date and time into Unix seconds and milliseconds.

—
Timestamp (seconds)
—
Timestamp (ms)
—
ISO 8601 (UTC)

Unix time counts seconds since 1970-01-01 00:00 UTC and ignores leap seconds; it is the format store keys, log lines and APIs actually use. Pairs with the Timestamp to Date converter.

How to use the Date to Unix Timestamp tool

  1. Enter your date to timestamp in the fields above.
  2. Adjust any slider or type an exact number — the answer updates as you go.
  3. Copy the result and close the tab. Nothing you entered was sent anywhere.

About the Date to Unix Timestamp tool

Pick a date and time in your local timezone to instantly get the Unix timestamp in seconds and milliseconds, plus the exact ISO 8601 UTC form.

Unix time counts seconds since 1970-01-01 00:00:00 UTC with no timezone attachment — which is exactly why storing timezone-naive local times in an API is the perennial bug this converter helps you avoid.

Everything runs locally in your browser: no data is uploaded, no account is needed, and it works offline once the page has loaded.

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview