CalcDuck

Days Until Calculator

Days Until Calculator

Fill in the fields to see your result.

The number of days until a target date is the plain difference between today, or any chosen start date, and that date — for example, a target 24 days away is exactly 3 weeks and 3 days out. If the target date has already passed, the calculator instead reports how many days ago it occurred.

Tip: “Copy with settings” shares a link that opens this calculator with your numbers already filled in.

How this calculator works

This is a straightforward countdown calculator: pick a target date — a deadline, a trip, a due date, an event — and see exactly how many days remain, broken down into whole weeks and leftover days as well as a single day count. It defaults to counting from today, but you can change the starting date to count from any other point.

If the target date has already gone by, the calculator switches automatically to reporting how many days have passed since then, rather than showing a confusing negative number.

The calculation

Days until = target date − from date, in whole calendar days.Weeks and days = the days-until total split into complete weeks (÷7) and a remainder (0–6 days).If the result would be negative, the calculator reports days since instead: from date − target date.

All dates are compared at midnight UTC, so the day count is never affected by time zones or daylight saving changes.

Worked example

  1. From date: January 1. Target date: January 25 (24 days later).
  2. Days until: 25 − 1 = 24 days.
  3. 24 ÷ 7 = 3 remainder 3, so that is 3 full weeks and 3 extra days.
  4. Result: "24 days until," shown as "3 weeks and 3 days away."

Frequently asked questions

What happens if the target date already passed?

The calculator detects that the target is earlier than the from date and switches to an "already passed" message showing how many days ago it happened, instead of a negative day count.

Can I count from a date other than today?

Yes — change the "from" date to count the gap between any two dates, not just from today. For a full years-months-days breakdown between two arbitrary dates, the Date Difference Calculator gives more detail.

Does the day count include today or the target day itself?

The count is the number of full days between the two dates. If the target date is today, the result is 0 days ("the target date is today"); the day after that is 1 day away.

Why does the calculator use UTC internally?

Comparing dates in UTC avoids a rare but real bug where a daylight-saving clock change shifts a local-time calculation by an hour and, right at midnight, flips the day count by one. Counting whole UTC days sidesteps that entirely.

If a target date is 100 days away, how many weeks and days is that?

14 weeks and 2 days. Splitting 100 days into complete 7-day weeks gives 100 ÷ 7 = 14 remainder 2, the same weeks-and-days breakdown this calculator shows for any day count.

Sources

Related calculators