business_days_between
Count the working days between two dates, excluding weekends and public holidays. Supports over 150 countries with optional subdivision.
Instructions
Counts the working days between two dates, excluding weekends and public holidays. The range is half-open — the start date counts and the end date does not — so Monday to Tuesday is one working day. The result is negative when the end precedes the start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO 3166-1 alpha-2 country code. Defaults to US. | |
| end_date | Yes | Calendar date, YYYY-MM-DD. | |
| start_date | Yes | Calendar date, YYYY-MM-DD. | |
| subdivision | No | Optional subdivision code, e.g. SCT. |