Turn a Date and Time Into a Unix Timestamp
Code, databases, and APIs rarely store a date as words. They store a Unix timestamp — a plain count of seconds since the start of 1970 — because a number is easy to sort, compare, and do arithmetic on. This converter builds that number from a date and time you choose, and gives you both the seconds value and the millisecond value alongside the ISO 8601 string.
The one decision that matters is which instant your date points at. Read it as local time when the date and time sit on someone's wall clock, such as an event start or a form field. Read it as UTC when the value already came from a server or a log. The switch changes the instant, so the timestamp moves with it. To go the other way, from a number back to a date, use the Timestamp to Date Converter.
Everything is computed in your browser. The date you pick is never sent anywhere, and the seconds and millisecond values each have their own copy button.