PocketCalc

Days Until Calculator (countdown to any date)

Free days-until calculator — pick a future date and see how many days, weeks and remaining days until it. Works for past dates too ("passed N days ago").

226 days until 2026-12-25 (32 weeks and 2 days).

Pick a target date and (optionally) a different “today” date. The calculator returns the day count, broken down into weeks and remaining days. Works forwards (future events) and backwards (past dates), and recognizes “that’s today” when the two match.

How it counts

days = target − today, both at midnight UTC

UTC parsing means daylight-saving doesn’t shift the count by ±1 around the spring-forward / fall-back boundary. The week decomposition is just weeks = ⌊|days| / 7⌋ with the remainder.

Why “today” is an input

A pure function doesn’t read the wall clock — that would make it impossible to unit-test deterministically and would mean the same page shows different results to different visitors at different times in unpredictable ways. So the reference date is an explicit input: the page prefills it with the build-time date, and you can adjust it.

Use cases

  • Personal: birthdays, anniversaries, vacation, due dates, exam dates, travel.
  • Professional: project deadlines, contract end dates, lease renewal, fiscal-year boundaries.
  • Marketing / sales: campaign launches, sale start/end, event countdowns.

Bookmark a specific scenario and the URL keeps working — the calculator just runs the arithmetic.

Worked examples

  • Days until Christmas (from May 13, 2026)

    226 days until 2026-12-25 (32 weeks and 2 days).

  • Tomorrow

    1 day until 2026-05-14.

  • Exactly one week from today

    7 days until 2026-05-20 (1 week).

  • A date that already passed

    That date passed 132 days ago (18 weeks and 6 days).

  • Today

    That date is today.

Frequently asked questions

Does the calculator update automatically to today's date?

The **Today** field defaults to a fixed date set when the page was last reviewed. For the most precise countdown, set it to the actual current date before reading the result. Keeping the reference date as an explicit input is what makes the underlying calculation a *pure function* — it stays deterministic for testing and reproducible if you bookmark a specific scenario.

How does it count when the dates span daylight-saving transitions?

Both dates are interpreted as midnight UTC, so DST shifts don't add or subtract a day around the spring-forward / fall-back boundary. The day count is the integer number of 24-hour blocks between the two midnights — same whether you're in São Paulo, London or Los Angeles.

What does the \"weeks and N days\" part mean?

It's the same total number of days, rephrased in calendar-friendly chunks. **15 days** is **2 weeks and 1 day** — useful for vacation planning, deadlines, or anything where the week boundary matters.

How does it differ from the date-difference calculator?

The date-difference calculator returns a raw signed day count between any two dates — neutral phrasing, good for math. The days-until calculator is built around a *future event*: it produces friendlier human phrasing ("6 weeks until", "that date is today", "passed N days ago") and is meant to live in a browser tab while you wait.

What about months — \"3 months and 12 days\"?

Months are tricky because they're not all the same length. The calculator sticks to **days and weeks** to stay exact. If you need calendar-month math (e.g. "4 months from today"), use the *Add days to a date* calculator together with the *Date difference* calculator.