Skip to main content

Days Until Date Calculator

Count the days from today to any future or past date.

Written by Golam Rabbani, Founder & Lead Engineer

Any future or past date.

How to use this days until date calculator

  1. Pick a target date in the date field.
  2. Press Calculate to see how many days lie between today and that date.
  3. Read the breakdown for weeks-and-days, total hours, and the weekday it lands on.
  4. Use Copy to grab the headline, or Reset to start over.

About this days until date calculator

The days-until-date calculator tells you exactly how many whole calendar days separate today from any date you have in mind — past or future. Type in a birthday, a project deadline, a holiday, or any other milestone, and the tool instantly returns the day count along with a richer breakdown: the weekday the target falls on, the gap expressed as weeks plus leftover days, and the equivalent in total hours and total minutes.

Under the hood the tool creates two local-date objects anchored to midnight — one for today and one for your chosen target — then divides the millisecond difference by 86,400,000 (the number of milliseconds in a day). Anchoring both ends to midnight means daylight-saving-time clock shifts have no effect on the answer; you always get a clean whole number of calendar days. Leap years are counted naturally as part of the calendar, so February 29 is simply another day in the span. If the target date is in the past the label switches from "days until" to "days since", giving you an elapsed-time reading with the same breakdown.

For a concrete example: if today is 28 May 2026 and you pick 25 December 2026, the tool returns 211 days until Christmas, which is 30 weeks and 1 day, 5,064 total hours, landing on a Friday. The same logic in reverse — targeting 1 January 2026 — returns 147 days since New Year's Day.

Anyone tracking deadlines, planning events, or satisfying idle curiosity about how far away (or how long ago) a date is will find this a handy, no-signup reference.

FAQ

What if the date is in the past?
The calculator handles it. Instead of "days until" it shows "days since" with the same breakdown, so the same tool answers both questions.
Is today counted as day zero or day one?
Day zero. The count is exclusive of today and inclusive of the target, which matches everyday usage — "tomorrow" is 1 day away, not 2.
Why does the hour count look like a simple multiplication?
Because the day count itself is anchored to local midnight, the hour figure is just days × 24. If you need hour-level precision (e.g. "until 6pm on Friday"), use the date difference calculator with explicit times instead.
Does it handle leap years and DST?
Leap years yes — they are counted as part of the calendar. DST is irrelevant because the calculation works in whole days, not hours.
Is the tool free?
Yes. Everything runs in your browser with no signup, no rate limit, and no data sent to a server.