Convert a date and time into a Unix timestamp.
A Unix timestamp counts seconds since the epoch in UTC, which makes it unambiguous across time zones. Signed 32-bit storage overflows in January 2038, which is why 64-bit timestamps are now standard. Storing times as timestamps rather than local strings eliminates an entire class of time zone and daylight saving bugs.
Unix Timestamp
Timestamp = days since 1 January 1970 × 86,400 + seconds within the day
Timestamp = days since 1 January 1970 × 86,400 + seconds within the day A Unix timestamp counts seconds since the epoch in UTC, which makes it unambiguous across time zones. Signed 32-bit storage overflows in January 2038, which is why 64-bit timestamps are now standard.
Storing times as timestamps rather than local strings eliminates an entire class of time zone and daylight saving bugs.
This calculator takes 5 inputs: Date year, Date month, Date day, Hour in UTC, Minute. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.