D-day & date calculator

Count days between dates and track a D-day.

Pick the dates.

You have a flight on the 14th, a lease that ends in March, and a project deadline someone keeps calling "about three weeks out." Counting on a calendar works until a month boundary or a leap year gets in the way.

This calculator takes a start date and a target date and returns the exact day count between them, plus a D-day label showing whether the target is still ahead or already behind you.

How it works

What you enter

Two fields, both using a date picker so the format is always correct:

FieldMeaning
Start dateThe reference point. Defaults to today.
Target dateThe date you are counting toward or back from.

How the count works

The tool converts both dates to a day value and subtracts one from the other:

days = target date − start date

The result is a plain calendar-day difference, so a full leap day is included automatically whenever February 29 falls inside the range.

Reading the D-day label

  • D-7 — the target is 7 days ahead of the start date
  • D-DAY — both dates are the same
  • D+7 — the target is 7 days behind, i.e. 7 days have already passed

Underneath, the tool also prints the total number of days between the two dates as a plain figure.

One thing to watch

The count is a pure difference, not an inclusive count. From the 1st to the 10th it reports 9 days, because the 1st itself is not counted as a day elapsed. If a rule you are following counts the first day as day one — some notice periods and contest entry windows do — add one to the result.

Terms explained

D-day
The target date itself. A negative prefix (D-7) means days remaining; a positive one (D+7) means days since.
Start date
The reference point the count runs from, usually today.
Target date
The date being counted toward or back from.
Inclusive count
A count that treats the first day as day one. This tool uses a plain difference instead, so add one if you need inclusive counting.
Calendar day
A whole day boundary. Leap days are counted like any other day.

Frequently asked questions

How many days are between two dates?

Pick the earlier date as the start and the later one as the target, and the tool returns the difference in calendar days. It counts the gap between the dates, so the start day itself is not included in the total.

Does the calculator handle leap years?

Yes. Both dates are converted to real calendar values before subtracting, so February 29 is counted automatically whenever it falls inside the range. You do not need to adjust anything.

What does D+ mean instead of D-?

D- means the target date is still ahead of you, with that many days left. D+ means the date has already passed, and the number shows how many days ago it was. D-DAY means the two dates are the same.

Can I count backwards from a past date?

Yes. Put the past date in either field. If the target is earlier than the start, the tool reports the gap as D+ and still shows the total days between them.

Why is the result one day off from what I expected?

Some rules count the starting day as day one — many notice periods and application windows work that way. This tool reports the plain difference between the two dates, so add one day if you need that style of counting.