Time Until Calculator
This counts down from right now to a moment you choose, in days, hours and minutes. It differs from a days until calculator in carrying the time of day at both ends, which matters whenever the deadline is a time rather than a date. A tender closing at noon, a fixed rate rolling over at midnight, a flight at 06:15, an auction ending at 20:00: for all of those, being told there are three days left is not the answer, because three days from now might be after it closes. The countdown here is calculated from the current moment including hours and minutes, so what you see is the actual time remaining rather than a whole number of calendar days. Because it counts from now, everything on the page is dynamic and nothing is pre-rendered: the figures appear when the page loads and would be wrong within a minute if they were stored. Alongside the breakdown you get the remaining time expressed wholly in hours and in minutes, which is what you want when the deadline is close enough that days have stopped being a useful unit, and the working days remaining if the deadline is far enough away that they still are.
Counted from the moment the page loads, so every figure here is dynamic and none is stored. A target in the past is reported as time elapsed instead. Daylight saving is not adjusted for.
How it works
The target moment is built from the date plus the hour and minute you set, and the current moment is read when the page loads. The difference is taken in minutes and split: whole days are the minutes divided by 1,440, the remainder divided by 60 gives hours, and what is left is minutes. Working days remaining are counted by stepping through the whole days and skipping Saturdays and Sundays. If the target has already passed, the same figures are shown as time elapsed rather than remaining.
Worked example
Suppose it is 14:00 on a Monday and the tender closes at 12:00 on the Thursday. A days until calculator would say three days, which is misleading, because three days from 14:00 Monday is 14:00 Thursday and the tender shut two hours earlier. This calculator returns 2 days 22 hours, or 70 hours, which is the figure you can actually plan against. Closer in, the useful unit changes again: with six hours left, 360 minutes is a more legible number than 0.25 days.
Related calculators
- Days Until: whole days, without the time of day.
- Time Between Dates: two fixed moments rather than a countdown.
- Add Time: moving forward from a known start.
- Business Days: working days with holidays removed.