How to use it
- Choose Days between dates to count the time between two dates, or Add or subtract to find a date before or after another.
- Enter the dates. Both start on today, so “90 days from today” is already worked out in Add or subtract.
- Tick Include the end date if both the first and the last day should count, such as the days of a trip or an event.
- Tick the business days option to skip Saturdays and Sundays. Public holidays are still counted, so take those off yourself.
How the days are counted
The difference counts calendar days, not hours, so a daylight saving clock change inside the range never turns 31 days into 30.96. By default it counts from and including the start date up to, but not including, the end date, which is the same as subtracting the dates in a spreadsheet (=B1-A1). March 1 to April 1, 2026 is 31 days. Tick Include the end date to count both ends: 32 days.
The result is also broken down into years, months and days (using the month rule below), and into weeks and days.
Adding months to the end of a month
Adding months keeps the day of the month. When that day does not exist in the target month, the result is the last day of that month:
- January 31, 2026 + 1 month = February 28, 2026 (February 29 in a leap year such as 2028)
- March 31, 2026 − 1 month = February 28, 2026
- August 31, 2026 + 1 month = September 30, 2026
- February 29, 2024 + 1 year = February 28, 2025
This is the same rule as Excel’s EDATE function. Some software, including JavaScript’s built-in dates, rolls over instead and gives March 3 for January 31 + 1 month. One side effect: adding a month twice is not always the same as adding two months at once. January 31 + 1 month + 1 month = March 28, but January 31 + 2 months = March 31.
Years and months are added first, then weeks, then days. A week is always 7 days.
Business days
Business days are Monday to Friday. Saturdays and Sundays are skipped, but public holidays are not, because they differ by country, state and employer. The US has 11 federal holidays a year; subtract any that fall on a weekday in your range.
Counting between dates, business days use the same days as the day count: March 1 to April 1, 2026 has 22 business days and 9 weekend days. Excel’s NETWORKDAYS counts both ends, so tick Include the end date to match it. Adding business days does not count the day you start from, so Friday + 1 business day is Monday and Saturday + 1 business day is also Monday. That matches Excel’s WORKDAY.