Date Difference
How long between two dates — in days, weeks, months and working days.
Date difference
Days, weeks, months and business days between two dates.
Counting days between two dates looks trivial until time zones, leap years and working days get involved. This calculator works in calendar days, not elapsed seconds, so a date range is the same number of days whether or not daylight saving changes in between.
What you get
- Total days — the calendar difference, end date exclusive of the start.
- Weeks and days — the same span expressed in whole weeks plus a remainder.
- Months and years — calendar months, with the day-of-month adjustment applied.
- Business days — weekdays only, excluding Saturdays and Sundays.
- Hours — days × 24, for scheduling and uptime calculations.
Why business days need a loop
You cannot get working days by dividing by seven and multiplying by five: the answer depends on which weekday the range starts on. The calculator walks the range day by day and counts Monday to Friday, which is exact. Public holidays are not excluded — those vary by country and by year, so add them yourself if your deadline depends on them.
Calendar months versus average months
Dividing days by 30.44 gives an average, not a calendar answer. From 31 January to 1 March is one calendar month and one day, even though it is 29 days in a non-leap year. The calculator uses calendar arithmetic so contract and notice periods land on the right date.
Common uses
- Deadlines: days remaining on a contract, visa or warranty.
- Project planning: working days between milestones.
- Billing: pro-rata periods and notice windows.
- Personal: countdowns, anniversaries and streaks.
Inclusive versus exclusive counting
This tool counts the difference between dates: 1 March to 3 March is 2 days. If you need to include both endpoints — "how many days am I on site, including arrival and departure" — add one. State which convention you are using before anyone argues about it.
Inclusive counting and legal deadlines
Courts and contracts often count differently from calendars. "Seven days from receipt" may exclude the day of receipt, or include it, depending on the rule. When a deadline is legally significant, read the wording: "within 7 days" usually excludes day zero, while "on the 7th day" counts it.
Business-day counts here exclude weekends only. Bank holidays, regional holidays and company shutdowns all shift real deadlines, so subtract them yourself — or add a buffer of two or three working days.
Frequently asked questions
Are public holidays excluded from business days?
No. Only weekends are excluded, because holidays vary by country and year. Subtract them manually if needed.
Is the end date included in the count?
No — the count is the difference between the dates. Add one if you need both endpoints counted.
How are months calculated?
Calendar months, with the day-of-month adjustment. It is not days divided by 30.44.
Does daylight saving affect the result?
No. The calculation uses calendar dates at UTC midnight, so DST changes do not shift the count.
Can I count backwards?
Yes — enter the later date first; the calculator orders them and reports the absolute span.