Date And Time To Unix Timestamp Converter
Convert a zoned date and time into a timestamp.
How Date And Time To Unix Timestamp Converter Works?
The Date And Time To Unix Timestamp Converter works by converting the zoned date and time to UTC and counting the seconds since 1 January 1970 00:00:00 UTC.
-
1. Enter the date and time
Pick the date and time in your device’s zone, such as 2026-06-15 09:00.
-
2. Read the Unix timestamp
The Unix Timestamp card shows the seconds count for that moment.
-
3. Confirm the UTC value
The UTC Time card shows the matching UTC time.
-
4. Add milliseconds if needed
Multiply by 1,000 for JavaScript and Java millisecond timestamps.
Date And Time To Unix Timestamp Converter Formula
The Date And Time To Unix Timestamp formula is Unix time = (UTC date-time − 1970-01-01T00:00:00Z) in seconds.
- UTC = local − offset
- Unix = days since epoch × 86,400 + seconds since UTC midnight
- Unix (ms) = Unix × 1,000
Example: 15 June 2026, 00:00:00 UTC = 20,619 days after the epoch × 86,400 = 1,781,481,600.
Date And Time To Unix Timestamp Converter Conversion Table
The Date And Time To Unix Timestamp conversion table lists UTC dates and their Unix timestamps.
| UTC Date and Time | Unix Timestamp (s) | Unix Timestamp (ms) |
|---|---|---|
| 1970-01-01 00:00:00 | 0 | 0 |
| 2000-01-01 00:00:00 | 946,684,800 | 946,684,800,000 |
| 2020-01-01 00:00:00 | 1,577,836,800 | 1,577,836,800,000 |
| 2025-01-01 00:00:00 | 1,735,689,600 | 1,735,689,600,000 |
| 2026-01-01 00:00:00 | 1,767,225,600 | 1,767,225,600,000 |
| 2026-06-15 00:00:00 | 1,781,481,600 | 1,781,481,600,000 |
| 2038-01-19 03:14:07 | 2,147,483,647 | 2,147,483,647,000 |
What is Date And Time To Unix Timestamp Converter?
A Date And Time To Unix Timestamp Converter is a tool that turns a calendar date and time in a chosen zone into a Unix timestamp.
Unix timestamps store moments as a single integer. Databases, APIs, and programming languages use them to sort, compare, and transmit times without zone ambiguity.
Signed 32-bit systems overflow at 2,147,483,647 (03:14:07 UTC on 19 January 2038). Modern systems use 64-bit timestamps to avoid this Year 2038 problem.
What are the uses of Date And Time To Unix Timestamp Converter?
There are 5 main uses of the Date And Time To Unix Timestamp Converter, including API requests, database seeds, and token expiry.
API requests
Developers send start and end filters as Unix seconds.
Database seeds
Developers write fixed timestamps into test data.
Token expiry
Engineers set JWT exp claims for a future date.
Scheduled posts
Developers schedule content with a Unix publish time.
Discord timestamps
Users write <t:unix> tags that display in each reader’s zone.