PageyPagey
Menu
Theme
Theme

Date to timestamp

Type a date and time to get its Unix timestamp in seconds, milliseconds, microseconds and nanoseconds.

The Unix time now…

Convert a date to a Unix timestamp

Type a date and time and get its Unix timestamp in seconds, milliseconds, microseconds and nanoseconds, read in the time zone you choose.

  1. 1

    Type a date, such as 2026-12-31 18:30.

  2. 2

    Pick the time zone it is in.

  3. 3

    Copy the timestamp.

Questions

Does the time zone change the timestamp?

Yes. A timestamp is one moment for the whole world, so 6:30 PM in Mumbai and 6:30 PM in London are different timestamps. Pick the zone the date is in, or type it with an offset such as +05:30 or Z.

Is Date to timestamp free?

Yes, and as often as you like. It works in your browser, so there is nothing to sign up for.

Is what I type sent anywhere?

No. Everything is worked out in your browser, with its own time zone data, so nothing you type leaves your device.

Do I need to install anything?

No. It works in the browser on any computer, tablet or phone.

Can I use Date to timestamp from my own code?

You won't need to: every programming language can convert timestamps, time zones and dates with what it has built in. This page is for quick checks by hand.