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 days | 30 days | 28/29 days |
|---|---|---|
| Jan, Mar, May, Jul, Aug, Oct, Dec | Apr, Jun, Sep, Nov | Feb |
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
| Situation | What to count |
|---|---|
| Invoice payment terms (net-30) | 30 days from invoice date |
| Delivery deadline | Days until delivery date |
| Visa duration | Days from entry to exit (usually inclusive of both) |
| Loan duration | Days loan is outstanding |
| Employee notice period | Calendar 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.