Business days between two dates
business_days_betweenCount the business days (Monday to Friday, optionally skipping US federal holidays) between two dates. Use it for working-day questions such as notice periods, delivery windows, payroll runs and project lead times. Use add_business_days instead to find the date that is N business days from a start date, and days_between_dates for plain calendar days. Holidays are the 11 US federal holidays with their observed dates when one falls on a weekend; company and state holidays are not included. Valid for years 2000 to 2100.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | The second date; if it is before start_date the two are swapped as a calendar date in the form YYYY-MM-DD, for example 2026-11-02. | |
| start_date | Yes | The first date as a calendar date in the form YYYY-MM-DD, for example 2026-11-02. | |
| include_end_date | No | Whether the end date itself is counted when it is a business day. Default true. | |
| skip_us_federal_holidays | No | Whether US federal holidays are left out of the business-day count. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | The inputs as used, with defaults filled in. | |
| results | Yes | The computed numbers. Unavailable numbers are null. | |
| summary | Yes | One or two plain sentences with the headline numbers. | |
| calculator_url | Yes | The TeamPredict calculator page that shows the same calculation, where a person can change the inputs. |