Overview

This counts the calendar days between two dates, and also shows them as weeks and days. It is handy for deadlines, trips, notice periods and contracts.

Enter each date as YYYYMMDD, so 15 March 2025 is 20250315.

Worked examples

InputsResult
Start Date (YYYYMMDD)20,250,101End Date (YYYYMMDD)20,251,231364 days after52w 0d
Show 2 more examples
Start Date (YYYYMMDD)20,240,101End Date (YYYYMMDD)20,241,231365 days after52w 1d
Start Date (YYYYMMDD)20,261,225End Date (YYYYMMDD)20,260,704174 days before24w 6d

Result (days) by end date

With the calculator's starting values, the result is 364 days after. The table shows how it changes with the end date.

End Date (YYYYMMDD)Result (days)
15,000,000191,785 days before
20,000,0009,164 days before
20,251,231starting value364 days after
25,000,000173,458 days after
30,000,000356,079 days after

Other inputs: Start Date: 20,250,101 YYYYMMDD. Change them in the calculator above for your own numbers.

How it works

Each date is converted to a calendar date and the difference is given in whole days, so leap years are handled automatically. The start date isn't counted. If you need to include both the first and last day, add 1 to the result.

Practical tips

  • 1 January to 31 December 2025 is 364 days apart, or 365 days if you count both ends.
  • Check the digits carefully. An impossible date such as 20250230 rolls forward to March instead of giving an error.
  • Business days are different. This counts weekends and public holidays.

Frequently asked questions

Does it include the end date?

It counts the gap between the dates, so 1 to 2 January is 1 day. Add 1 if you want to count both.

Does it handle leap years?

Yes. 29 February is counted in leap years.

What if the end date comes first?

You still get the number of days, and the result says the end date is before the start date.