LazyTools

🔒 Every tool runs in your browser — the files and values you enter are never uploaded to any server. How it works

📅 Days Between Dates Calculator

Pick two dates, get the gap four ways: total days, weekdays only, complete weeks, and the calendar years-months-days breakdown.

30 days

Weekdays (Mon–Fri)20
Weekend days10
Weeks + days4w 2d
Calendar breakdown0y 0m 30d

End date excluded (elapsed days). Weekday count doesn't subtract public holidays.

Rate this tool:
Anonymous — no account, no identifier

How the days between dates calculator works

Total days are computed from UTC day numbers, immune to daylight-saving shifts that make naive millisecond subtraction land on 23- or 25-hour "days". The weekday count covers the span excluding the end date — the convention for counting working days until a deadline. The calendar breakdown counts complete years, then months, then days, handling unequal month lengths correctly.

Off-by-one is the classic trap: 1 July to 3 July is two days elapsed but three days touched. This tool reports elapsed days (end date excluded); add one if your use case counts both endpoints, as some contract-day conventions do. The weekday count also ignores public holidays — subtract those for your country manually.

Frequently asked questions

Is the end date included in the count?

No — the tool counts elapsed days, so Monday to Friday of one week is 4 days (and 4 weekdays). If your context counts both endpoints inclusively, add one.

How are weekdays counted?

Every Monday–Friday in the span, excluding the end date. Public holidays are not subtracted — they vary by country and year, so check your local calendar for those.

Does daylight saving time affect the count?

Not here: dates are compared as calendar days via UTC day numbers, so 23- and 25-hour DST days still count as exactly one day.

Can I count days between dates years apart?

Yes — any range the browser date picker accepts, with leap years handled by the calendar arithmetic. Century-spanning ranges are fine.

Are my dates uploaded?

No — the arithmetic runs on your device. Nothing is transmitted or logged.

Related date & time tools

From the blog