Countdown to Date
See how many days remain until a target event date.
About Countdown to Date
Counting from today to the target date gives the days remaining, while past dates are shown as zero. Countdowns make distant events tangible and help people prepare within a recognizable time frame.
Formula
Countdown to Date
Days until = target date - today's date, floored at zero
- floored at zero
- Past events report zero rather than a negative countdown
Worked example
With the default values below, Countdown to Date returns Days Until Event of 152. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Today year
- 2,025
- Today monthaccepts 1–12
- 8
- Today dayaccepts 1–31
- 1
- Target year
- 2,025
- Target monthaccepts 1–12
- 12
- Target dayaccepts 1–31
- 31
Results
- Days Until Event
- 152
- Weeks Until
- 22m
- Hours Until
- 3,648
Step by step
- 1Values used
- 2Countdown to Date
- 3Days Until Event= 152
- 4Weeks Until= 21.71
- 5Hours Until= 3,648
Assumptions and limits
- The result is derived only from the 6 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Countdown to Date calculated?
Days until = target date - today's date, floored at zero Counting from today to the target date gives the days remaining, while past dates are shown as zero.
Why does Countdown to Date matter?
Countdowns make distant events tangible and help people prepare within a recognizable time frame.
What values do I need to enter?
This calculator takes 6 inputs: Today year, Today month, Today day, Target year, Target month, Target day. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
