📅 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
End date excluded (elapsed days). Weekday count doesn't subtract public holidays.
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
-
The 4-5-4 Retail Calendar Explained: Why Retailers Don't Use Normal Months
The NRF 4-5-4 calendar splits the retail year into 13-week quarters of 4-5-4 week months so sales compare like-for-like. How it works, when the retail year starts, why some years have 53 weeks, and how to find any date's retail week.
-
BS to AD (and Back): How the Nepali Bikram Sambat Calendar Works
Nepal runs on Bikram Sambat, about 56 years 8 months ahead of the Gregorian calendar — so 2024 AD is 2081 BS. Why BS months have no fixed length, how conversion actually works, and how to convert any date both ways.
-
Unix Timestamps Explained: Seconds vs Milliseconds, UTC and the Year 2038
A Unix timestamp counts seconds since 1 January 1970 UTC. How to convert one to a date, tell seconds from milliseconds at a glance (10 vs 13 digits), avoid the 1970-bug, and what actually happens in January 2038.