Boneyard Tools

Days Until a Date

Set a start date and a target date, and this calculator shows the exact whole-day gap between them along with a clean weeks-and-days breakdown. The start field defaults to today, so a quick countdown to a deadline, holiday or event takes two clicks. Targets in the past return a negative number so you can measure how long ago something happened.

How to count days until a date

  1. Click the Start date field, which is preset to today, and change it if you want to count from a different day.
  2. Click the Target date field and pick the date you are counting toward.
  3. Read the large total, such as 198 days, in the result box.
  4. Check the smaller line below it for the weeks-and-days breakdown, for example 28 weeks, 2 days from the start.
  5. Use the Copy button to copy the day total to your clipboard.

Examples

Countdown to a holiday

Start 2026-06-10, Target 2026-12-25
198 days (28 weeks, 2 days from the start)

A date that already passed

Start 2026-06-10, Target 2026-06-01
-9 days (1 week, 2 days ago)

Exactly one week out

Start 2026-01-01, Target 2026-01-08
7 days (1 week from the start)

Frequently asked questions

How are the days counted?

Both dates are converted to midnight UTC and the difference is divided into whole days. Because the math is done in UTC, a daylight saving shift in your local time zone never adds or removes a day from the result.

What does a negative number mean?

A negative total means the target date falls before the start date. The magnitude is how many days ago the target was, so -9 days means the target was nine days in the past relative to the start.

Does the count include the start day or the target day?

Neither endpoint is double counted. The tool measures the span between the two dates, so January 1 to January 8 is 7 days rather than 8. If you need an inclusive count that covers both ends, add one.

How is the weeks and days breakdown calculated?

The absolute day total is divided by 7 for whole weeks, and the remainder becomes the leftover days. A gap of 198 days shows as 28 weeks and 2 days, and the sign is carried through so a negative total reads as time in the past.

Why does the breakdown sometimes hide the weeks or the days?

The summary skips a part that is zero. A gap of exactly 14 days shows as 2 weeks with no trailing days, while a 3 day gap shows only days because there are no full weeks to report.

Can I count between two future or two past dates?

Yes. Neither date has to be today. Set both fields to any dates you like, past or future, and the tool returns the signed gap between them.

What date format does it expect?

The inputs are native date pickers that use the YYYY-MM-DD format internally. You choose from a calendar, so there is no ambiguity about whether a number is a month or a day.

Does it handle leap years correctly?

Yes. The calculation uses real calendar arithmetic, so a February 29 in a leap year is counted like any other day and spans that cross a leap day come out right.

Is my data private?

Yes. Every calculation runs in your browser. No dates are sent to a server, logged or stored anywhere.

Learn more

Related tools