Home · Date & Time · Date Differences · Days Until Calculator
Days Until Calculator
Count down the days from a reference date to a future date, with the wait also expressed in weeks and hours.
What this calculator does
Count down the days from a reference date to a future date, with the wait also expressed in weeks and hours. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The reference date (today by default) is subtracted from the target date on the proleptic Gregorian calendar; the target must not be before the reference.
Dates use the proleptic Gregorian calendar: a year is a leap year when divisible by 4, except century years not divisible by 400.
Worked example
With the example inputs this page opens with, the result is 30 days — days until the date.
Quick reference
| Figure | Value |
|---|---|
| Days until the date | 30 days |
| Weeks | 4 weeks, 2 days |
| Calendar breakdown | 0 years, 1 months, 0 days |
| Hours | 720 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What if the date has already passed?
The tool asks you to use the Days Since calculator instead, since the countdown for a past date would be negative.
Does the count include the target day?
No — it is the number of whole days to travel through to reach the target date, the plain difference of the two dates.
How does the Days Until Calculator work?
Count down the days from a reference date to a future date, with the wait also expressed in weeks and hours. Reference date · Future date → Days until. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Days Until Calculator need?
Reference date · Future date → Days until. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.