MentorMakers Login Sign up

Do More with MentorMakers

Free tools. Powerful features. Built for a smarter tomorrow.

  • 129 Free Tools
  • Most tools — no signup
  • Temporary files handled for processing
  • AI Assistant built in
  • Made in Pakistan 🇵🇰
Explore All Tools
Calculators & Practical Calculations Sep 25, 2026 · 2 min read

How to Count Days Between Two Dates

Count the exact number of days between two dates — for deadlines, payment terms, project timelines and contract durations.

M By the Mentor Makers team
How to Count Days Between Two Dates

Date differences come up constantly — invoice payment terms, project deadlines, contract durations, insurance validity periods, visa days. The mental arithmetic is easy for short spans and surprisingly awkward across months or years.

The Manual Method

For dates in the same month: just subtract the days. 20 September − 5 September = 15 days

For dates spanning months, count month by month:

From 15 July to 8 October:

  • 15 July to 15 August: 31 days
  • 15 August to 15 September: 31 days
  • 15 September to 8 October: 23 days
  • Total: 85 days

Days in Each Month (Memorise This)

A helpful rhyme: "30 days hath September, April, June and November. All the rest have 31, except February alone."

31 days30 days28/29 days
Jan, Mar, May, Jul, Aug, Oct, DecApr, Jun, Sep, NovFeb

Accounting for Leap Years

February has 29 days in leap years. A leap year is divisible by 4, except centennial years must be divisible by 400. 2024 = leap year; 2025, 2026, 2027 = not.

If your date range includes February of a leap year, count 29 days for that month; otherwise 28.

Practical Contexts

SituationWhat to count
Invoice payment terms (net-30)30 days from invoice date
Delivery deadlineDays until delivery date
Visa durationDays from entry to exit (usually inclusive of both)
Loan durationDays loan is outstanding
Employee notice periodCalendar days from notice given

Common Confusion: Inclusive vs Exclusive

"30-day payment terms" typically means 30 days from the invoice date, with day 0 being the invoice date. Day 30 is the due date. Whether day 30 itself is included depends on the contract wording.

Use Date Difference Calculator to count days, months and years between any two dates. For business-only day counts, see how to calculate working days excluding weekends.

Dates in Different Calendar Systems

Pakistan's official calendar is the Gregorian calendar, which is what date calculators use. For Islamic calendar (Hijri) dates — relevant for religious observances and some legal instruments — the conversion between Hijri and Gregorian isn't straightforward because the Islamic calendar follows lunar months of 29–30 days. Dedicated Hijri-Gregorian converters handle this accurately. For Gregorian date arithmetic between two dates, Date Difference Calculator gives precise results including years, months and days.

Date Ranges and Time Zones

For international contracts or deadlines, specify the time zone along with the date. "By 31 October" means different moments in London, Dubai and Karachi simultaneously. The standard convention is to specify the timezone (e.g. "by 23:59 PKT on 31 October"), which removes ambiguity. Date Difference Calculator counts calendar days without timezone adjustment — always confirm the exact deadline with the other party.

#days between dates #date difference #count days

Frequently Asked Questions

Is the count of days between dates inclusive or exclusive of the end date?

This depends on context and convention. For a "stay of 7 days" the start and end dates are usually both counted; for "days until a deadline" usually only the end date is counted. Clarify the convention for any important calculation.

How many days are in each month?

31: Jan, Mar, May, Jul, Aug, Oct, Dec. 30: Apr, Jun, Sep, Nov. 28 or 29: Feb (29 in leap years).

How do I count business days, excluding weekends?

Count total days and subtract weekends (2 per week). For public holidays, subtract those too. See also the Working Days Calculator.

Is 2026 a leap year?

No. Leap years are divisible by 4 but not by 100 (unless also divisible by 400). 2024 was a leap year; next is 2028.

Try it yourself

Do it in seconds Free

Every tool on MentorMakers is free — or just tell the AI Assistant what you need.

Browse all tools

0 Comments

Log in to comment

← Back to blog

Advertisement
Processing your file…
This can take a few seconds for larger files.
Bookmark this page
Press Ctrl+D for quick access next time