Days until a date
Pick any target date and instantly see how many whole calendar days are left until it — or, if it has already passed, how many days ago it was. It is built for counting down to deadlines, holidays, exam dates, product launches, trips, and anniversaries.
How it works
The tool anchors both today and the target date to local midnight and subtracts one from the other:
days = floor((target midnight − today midnight) ÷ milliseconds per day)
Anchoring to midnight removes any hour-of-day ambiguity: the result is always a clean whole number of calendar days, not a fraction that rounds differently depending on the time of day. A positive result is a future countdown; a negative result is days elapsed since a past date; zero means the target date is today.
The count is then broken into complete weeks plus remainder days (by dividing by 7) and the tool also names the weekday the target falls on, which is useful for planning around workdays and weekends.
Practical uses
- Work deadlines: see at a glance whether a report is due in 3 days or 3 weeks, and whether it lands on a Friday
- Holidays: “how many days until Christmas?” — enter 25 December for an instant countdown
- Contracts and notices: calculate a notice period end date by counting forward from a resignation date
- Events and trips: see how far away a concert, exam, or departure date is in weeks and days
- Looking back: enter a past date to find out how many days have elapsed since an event
Worked example
If today is 20 June 2026 and the target date is 1 September 2026:
- Days remaining: 73 days
- As weeks: 10 weeks and 3 days
- Target weekday: Tuesday
| Scenario | Result |
|---|---|
| Target 30 days ahead | 30 days (4 weeks 2 days) |
| Target is today | 0 — that date is today |
| Target 10 days in the past | 10 days since |
| Target is next 25 December | (counted automatically from current date) |
The date you enter stays entirely in your browser and is never sent to any server.