How to use the Days Between Dates
- Pick a start date
- Pick an end date
- See the difference in every unit
Count the days between two dates
Pick a start and an end date to see the gap in days โ and the same gap in years, months and days, in weeks, and as business days. Tick Include end date to count both the first and last day (handy for holidays and hotel stays), and choose which days are your weekend: Saturday & Sunday, Friday & Saturday, Friday only or Sunday only.
Example
1 January 2026 โ 25 December 2026 = 358 days (51 weeks and 1 day, or 11 months and 24 days), of which 256 are weekdays. Business days skip weekends only, not public holidays, so subtract any holidays yourself. The result also shows both dates with their weekdays.
The same calculation elsewhere
The difference is simply end date โ start date:
- Excel โ
=B2-A2or=DAYS(B2,A2); for working days,=NETWORKDAYS(A2,B2). - Google Sheets โ
=DAYS(B2,A2)or=DATEDIF(A2,B2,"D"). - SQL Server โ
DATEDIFF(day, start_date, end_date); MySQL โDATEDIFF(end_date, start_date). - Oracle โ subtract the dates directly:
end_date - start_date. - Snowflake โ
DATEDIFF(day, start_date, end_date). - Power BI (DAX) โ
DATEDIFF([Start], [End], DAY); Power Query โDuration.Days([End] - [Start]).