Countdown Calculator
By Jason Smith · Updated October 23, 2026
The boxes split the millisecond gap into 86,400-second days. Total days keep two decimals.
Pick a local date and time. The page subtracts the device clock from that instant and keeps updating once a second until the gap runs out.
A 90-minute gap prints 0.06 total days
Whole seconds are the millisecond gap divided by 1,000, rounded down. The day box is those seconds divided by 86,400, rounded down. The hour box is the remainder divided by 3,600, rounded down. Minutes and seconds take the remainders after that, using 60. Total days divide the milliseconds by 86,400,000 and keep two decimals. Total hours divide by 3,600,000 and keep two decimals. Total seconds are the whole-second count. The rows are that arithmetic for an exact gap, which is what two local times produce when no daylight-saving change sits between them.
| Gap | Headline | Total days | Total hours | Total seconds |
|---|---|---|---|---|
| 1.5 hours | 0d 1h 30m 0s | 0.06 | 1.5 | 5,400 |
| 36 hours | 1d 12h 0m 0s | 1.5 | 36 | 129,600 |
| 56 hours | 2d 8h 0m 0s | 2.33 | 56 | 201,600 |
| 168 hours | 7d 0h 0m 0s | 7 | 168 | 604,800 |
90 minutes are 5,400 seconds, and 5,400 รท 86,400 is 0.0625 of a day. Two decimals round that to 0.06. Total hours still print 1.5, which is the full 90 minutes. The 36-hour row is 1 day in the day box and 12 hours beside it, while total days print 1.5 and total hours print 36. The 56-hour row is October 28, 2026, 9:00 to October 30, 2026, 17:00 in a zone that does not change the clock on those two days: 2d 8h, total days 2.33, total seconds 201,600. A week of exactly 168 hours is 7d 0h and 604,800 seconds. Read total hours when the deadline was stated in hours. The day box has dropped the fraction.
November 1, 2026, is 169 hours in US Central time
NIST's daylight saving time page says that during 2026 the change runs from March 8 at 2 a.m. local time to November 1 at 2 a.m., and that the November change repeats an hour. This page does not name the change. It subtracts the two instants on the device clock. In US Central time, noon on October 29, 2026, to noon on November 5, 2026, prints 7d 1h 0m 0s, total days 7.04, total hours 169, and total seconds 608,400. Noon on October 31, 2026, to noon on November 1, 2026, prints 1d 1h 0m 0s and total hours 25. Noon on March 10, 2027, to noon on March 17, 2027, crosses the spring change and prints 6d 23h 0m 0s, total days 6.96, total hours 167, and total seconds 601,200.
The same NIST page says Hawaii and most of Arizona do not observe the change (the Navajo Nation does). A device set to one of those zones does not add the hour. A span between two dates you both choose, with no clock and no "now," is the Date Difference Calculator. Two clock times, such as the length of a shift, are the Time Duration Calculator. Age from a birth date is the Age Calculator.
A past target says Reached
If the gap is zero or negative, the headline becomes Reached! and the day, hour, minute, and second boxes are set to 0. The timer stops. The total lines are written only while the gap is still positive, so a target that is already past on the first tick leaves them at the 0 printed in the page. The field has no time-zone name. The time you type is the time on the device clock. The date is not stored in the address, so a shared link does not open on the same target. A hidden browser tab can delay the one-second timer. The next tick recomputes the target minus the clock.