EpochLab

Date to Timestamp

Turn a date into a Unix timestamp

Type a date any way you like — ISO, a slash date, `next friday`, `now` — and get the timestamp in seconds, milliseconds, microseconds and nanoseconds.

Questions people ask

The things that come up about date to timestamps, answered plainly.

Which zone is my date interpreted in?

The one selected on the page, unless the text itself carries an offset. A date with no zone is not an instant until you say where it was written, which is the single most common source of an off-by-a-few-hours bug.

What happens on a daylight-saving night?

A wall time that never existed — 02:30 on a spring-forward morning — is flagged as a gap, and one that happened twice is flagged as an overlap with both instants shown.

Related tools

Seconds, milliseconds, microseconds and nanoseconds, in both directions.

All 160 tools · More in unix time & epochs