Date to timestamp

Interpretation uses your browser’s local time zone for the picker control.

Choose a calendar moment and copy Unix time for APIs, JWT exp fields, or databases. For wall-clock times in other regions, combine with the timezone converter.

Date and time
Unix time

Select a date and time.

How it works

The datetime control builds a date in your local zone, then the UTC instant is converted to Unix seconds and milliseconds.

Milliseconds are the exact length returned by Date.getTime().

Local time

The picker follows your system time zone. For wall-clock times in another region, use the time zone converter with the same instant.

DST

Skipped or repeated local times during daylight saving changes may map to different UTC instants on different systems; verify critical scheduling separately.

Common questions

Which time zone?
The browser’s local zone. Change your system zone or use the converter tool for named zones.
Fractional seconds?
The picker uses minute precision; seconds default to zero unless your browser exposes them.
UTC output?
Unix time is UTC-based; the labels show seconds and milliseconds since the epoch.
Mobile Safari?
datetime-local support is broad; very old browsers may lack it.