count_business_days
Count business days between two dates (inclusive) by excluding weekends and Polish public holidays. Supports enforcing '14-dni-roboczych' payment terms.
Instructions
Count business days between two dates (inclusive), skipping weekends and Polish public holidays. Useful for enforcing '14-dni-roboczych' style payment terms. The weekend is always Saturday + Sunday, whatever country is passed; only the holiday list changes per country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO 3166-1 alpha-2 country code for the holiday list (default PL); does not change the Sat/Sun weekend | PL |
| to_date | Yes | YYYY-MM-DD (inclusive) | |
| from_date | Yes | YYYY-MM-DD (inclusive) |