Date to timestamp
Type a date and time to get its Unix timestamp in seconds, milliseconds, microseconds and nanoseconds.
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
Type a date, such as 2026-12-31 18:30.
- 2
Pick the time zone it is in.
- 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.
Other tools
- Unix timestamp converterTurn a Unix timestamp into a date, or a date into a timestamp, in ISO 8601 and other formats.Free, works as you type
- Time zone converterSee what a time in one zone is everywhere else, with summer time worked out.Free, works as you type
- Date calculatorCount the days between two dates, add or take away days, weeks or months, or work out an age.Free, works as you type