In short
The days until a date is the target date minus today, counted in whole days: tomorrow is 1 day away. The calculator uses calendar dates, so time zones and clock changes cannot shift the count. It also breaks the countdown into weeks and days, years, months and days, and the number of Monday-to-Friday working days still to come.
How it works
Each calendar date has a day number, a count of days from a fixed starting point. The days until a date is just the difference between two day numbers, so month lengths and leap years are handled automatically.
days = day number of target − day number of today
Python’s documentation uses this as its example of counting days to an event: on 5 December 2007, a birthday on 24 June 2008 is 202 days away. The count does not include today, so a date tomorrow is 1 day away and today is 0.
The working-day figure counts Mondays to Fridays after today up to and including the target date. It does not remove public holidays; use the business days calculator for that.
Worked examples
Python’s example: a birthday on 24 June
From 5 December 2007 to 24 June 2008 is 202 days, or 28 weeks, 6 days. February 2008 had 29 days, which the count includes automatically.
Until New Year’s Day 2027
From 24 November 2026, 1 January 2027 is 38 days away: 6 days left in November, 31 in December and the 1st itself. That includes 28 weekdays.
How long since 1 January 2000?
Enter a past date and the calculator counts backwards: on 24 November 2026, the year 2000 began 9,824 days ago, which is 26 years, 10 months, 23 days.
Using this calculator well
- Sleeps versus days. Children often count “sleeps”: the number of nights until the day, which is the same as the days-until figure.
- Deadlines may count differently. Some rules include both the first and last day, or skip weekends and holidays. Check how your deadline is defined.
- Share the countdown. The page address keeps your target date, so you can bookmark it or send it to someone and it will count from their today.
- Time zones don’t matter here. The count changes at your local midnight, because it uses your device’s date.
Frequently asked questions
How many days until Christmas?
Set the target to 25 December. From 24 November there are 31 days to go: 6 left in November plus 25 in December. The calculator counts from your device’s current date, so the number updates each day when you return to the page.
Does the count include today?
No. The result is the number of days you have to wait: tomorrow is 1 day away, and the target date itself is the last day counted. If you want to count both today and the target day, add 1.
How do I count days since a past date?
Enter the past date as the target. The calculator notices it is before today and shows how many days ago it was, along with the same span in years, months and days and in weeks.
Are leap years included?
Yes. Every calendar day is counted, including 29 February in leap years. Under the Gregorian rule, years divisible by 4 are leap years except century years not divisible by 400, so 2000 was a leap year and 2100 will not be.
Sources and methodology
- datetime: examples of usage, counting days to an event, Python Software Foundation, from 2007-12-05 to the birthday 2008-06-24 is 202 days; date.fromordinal(730920) is 2002-03-11 (accessed November 24, 2026)
- Leap Years, U.S. Naval Observatory, Astronomical Applications Department, Gregorian rule: every year divisible by 4, except century years not divisible by 400 (accessed November 24, 2026)
Rounding: Whole calendar days, counted exactly with the Gregorian calendar; no hours or time zones are involved.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/days-until" title="Days Until Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>