• Free forever
  • No sign-up
  • Private — runs in your browser

Date to Unix Timestamp

Pick a date, time and time zone to get the Unix timestamp in seconds and milliseconds — daylight saving handled for you.

Current Unix timestamp —

Timestamp → date

Seconds, milliseconds, microseconds or nanoseconds — detected automatically.

Date → timestamp

Get the current timestamp in your language

Why the time zone matters

“1 March 2026, 09:00” is a different instant in London, New York and Tokyo, so it has a different timestamp in each. Choose the zone the date was written in: the converter applies that zone's UTC offset — including daylight saving time on that specific date — and returns the single, unambiguous Unix timestamp.

In code

JavaScript: Date.UTC(2026, 2, 1, 9) / 1000 (months start at 0). Python: int(datetime(2026, 3, 1, 9, tzinfo=ZoneInfo('Europe/London')).timestamp()). PostgreSQL: SELECT EXTRACT(EPOCH FROM TIMESTAMPTZ '2026-03-01 09:00 Europe/London');

Related

← Back to the full Unix Timestamp Converter