Counts full days between the two dates (end date not included) — handy for project deadlines, notice periods and travel plans.
Days Between Dates takes a start date and an end date and returns three figures: the total number of days between them, that span expressed as weeks plus remaining days, and the number of weekdays (Monday to Friday) inside the span.
When the tool is opened, the shared date defaults set the start date to today and the end date to 30 days later. The count treats the end date as not included, so it measures full days between the two dates.
The total comes from the difference between the two date values, divided by the number of milliseconds in a day and rounded. Weekdays are counted by stepping through the span one day at a time from the start date up to, but not including, the end date, and counting each day that is not a Saturday or a Sunday.
If you enter the end date before the start date, the tool swaps the two dates and explains in the note that it is showing the positive difference, so the result is never negative. The weekday loop steps day by day and includes a high safety limit, and it counts the start date but not the end date, matching the total-days rule. The tool does not subtract public holidays, since no holiday calendar is included in the code.
The difference is 30 full days, so Total days shows 30. That is 4w 2d, since 30 = 4 × 7 + 2. Counting Monday-to-Friday days from 1 January up to but not including 31 January 2026 gives 22 weekdays.
Entering 31 January 2026 as the start and 1 January 2026 as the end gives the same 30 days. The tool swaps the dates internally and changes the note to say the dates were swapped and the positive difference is shown.
No. The on-screen note states that the tool counts full days between the two dates with the end date not included, and the weekday count follows the same rule.
The tool swaps the two dates and shows the positive difference. The note under the results changes to explain that the dates were swapped.
The tool steps through each day from the start date up to the end date and counts days whose weekday is Monday to Friday, skipping Saturdays and Sundays.
No. Only Saturdays and Sundays are excluded. There is no holiday list in the tool, so a public holiday falling on a weekday is still counted.
The start date defaults to today and the end date to 30 days later, giving an opening result of 30 days. You can change either date and the results recalculate on change.
Related date and planning tools.
Age Calculator — Work out an exact age in years, months and days from a date of birth.
Unit Converter — Convert length, weight and temperature between common units.
Percentage Calculator — Work out percentages, parts as percentages and percentage change.
Converters — Browse the full Converters category on ToolGlobalHub.