All guides

How many days until a date? Counting down correctly

Last updated:

Counting down to a wedding, a trip, an exam or a deadline seems trivial, but there's one detail that trips people up: does the count include today, and what happens if the date has already passed?

The calculation itself is simple

The number of days until a target date is just the difference between two dates, measured in whole days — no month or year lengths need to be considered individually, since the calculation works directly from each date's position on the calendar.

Does today count?

This is a convention, not a math question, and different tools answer it differently. Some report "0 days" if the target date is today; others count from midnight. A good calculator should be explicit about which convention it uses, since the difference of exactly one day matters a lot for something like "days until my flight."

What if the date already passed?

If the target date is earlier than today, a well-built calculator should still return a sensible answer (either a negative count or the absolute number of days since it passed) rather than an error — countdowns to past events ("how long ago was that?") are just as common a use case as future ones.

Common mistakes

  • Manually adding up days per month without accounting for different month lengths — this is exactly the kind of arithmetic that's easy to get wrong by hand, especially across a February or a leap year.
  • Forgetting time zones when the target date includes a specific time (like an event starting at a specific hour) — pure date-to-date counting assumes whole calendar days.

Use Days Until Date Calculator to count down to any date; to add or subtract a specific number of days from a date instead, see the Date Calculator.