NinjaFunction (Ninja Function) logo

Date Difference Calculator

Count the years, months, days, weeks and weekdays between two dates.


Pick a start and an end date.

About This Tool

NinjaFunction's Date Difference Calculator shows the time between two dates in years, months and days, and also as total days, total weeks and weekdays (Monday to Friday). The dates can be in either order, and the end date starts as today. It runs in your browser.

🔑 How to Use

  1. Pick the start date.
  2. Pick the end date. It starts as today.
  3. Read the gap in years, months and days.
  4. Check the totals in days, weeks and weekdays.

💡 Pro Tips

  • ✔ Project deadlines: use the weekdays line as a quick working-day count.
  • ✔ Leave the end date as today to see how long ago something happened.
  • ✔ To find a person's age, the Age Calculator adds days to the next birthday.

Common Uses

  • Notice periods and contracts: count the days from start to end.
  • Pregnancy and milestones: find weeks since a date.
  • Travel: count the nights between check-in and check-out.
  • Anniversaries: see how many years, months and days you have been together.

Worked Examples

FromToResult
1 Jan 20251 Feb 20251 month, 31 days in total
31 Jan 20241 Mar 20241 month 1 day, 30 days in total
15 Aug 194715 Aug 202578 years, 28,490 days in total
1 Jan 202531 Dec 2025364 days, 11 months 30 days

Is the End Date Included?

The tool counts the days between the two dates, so the start day is not counted. 1 January to 2 January is 1 day. If you need both the first and the last day included, such as the length of a holiday booking, add 1 to the total days.

Weekdays and Working Days

The weekdays line counts Monday to Friday between the dates. It does not remove public holidays or company days off, so for a precise working-day count take away the holidays that fall in your range.

Where People Use It

  • Notice periods, probation periods and contract lengths.
  • Warranty and return windows: how many days are left?
  • Pregnancy and baby milestones.
  • Study plans and exam countdowns.
  • Trip planning: nights between two dates.

Frequently Asked Questions

How many days are there between two dates?

Pick the start and end date. The total days is shown in the results. The start day is not counted, so 1 January to 2 January is 1 day.

Can the end date be before the start date?

Yes. The tool swaps them and shows the gap.

What are weekdays?

Monday to Friday. The count is a quick guide to working days. It does not remove public holidays.

How are months counted?

Whole months are counted from the start date, and the days left over are shown. Month ends are handled, so 31 January plus one month is the last day of February.

Always FreeAll tools are 100% free to use.
No Sign UpNo registration or login required.
Blazing FastInstant results, always.