Count business days
business_daysCalculate business days between two dates, excluding weekends and specified holidays, returning counts of business, calendar, and weekend days.
Instructions
Count the business days between two dates in a place, for delivery dates and payment terms. Returns the business-day count, the calendar total, and how many days fell on a weekend or on a holiday you passed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date, YYYY-MM-DD (inclusive) | |
| from | Yes | Start date, YYYY-MM-DD (inclusive). A date that does not exist, such as 2026-02-30, is refused, never rolled forward | |
| zone | Yes | Place whose calendar to use | |
| holidays | No | Dates to exclude, strict YYYY-MM-DD. This tool has no national holiday calendar: unless you pass holidays here only weekends are excluded, so do not report the answer as a public-holiday-adjusted count |