Days until a date
Pick any target date and instantly see how many 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, birthdays, exams, trips and launches.
How it works
The tool floors both today and your target date to local midnight, then subtracts:
days = round((target midnight − today midnight) ÷ 24 hours)
Flooring to midnight means the answer is always a clean number of whole calendar days with no hour-of-day rounding error. A positive result counts down to a future date; a negative one counts up from a past date; zero means the target is today.
It then breaks the count into weeks and days (count ÷ 7 with the remainder) and names the weekday the target falls on.
Example
If today is 30 May 2026 and the target is 29 June 2026:
- Days until: 30 − 0 = 30 days
- As weeks: 30 ÷ 7 = 4 weeks and 2 days
- Weekday: the target falls on a Monday
| Scenario | Result |
|---|---|
| Target 30 days ahead | 30 days (4 weeks 2 days) |
| Target is today | 0 days — that date is today |
| Target 10 days ago | 10 days since |
It is privacy-first: the date you enter stays in your browser and is never sent anywhere.