calculate_working_days
Count working days between two dates for Portuguese business compliance, excluding weekends and public holidays.
Instructions
Counts the number of working days between two dates (inclusive), excluding Saturdays, Sundays, and all 10 Portuguese national public holidays. Returns { start_date, end_date, working_days: number }. Use when calculating Portuguese invoice payment deadlines, legal notice periods, or SLA response times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | Start date in YYYY-MM-DD format. Example: '2026-01-01' | |
| end_date | Yes | End date in YYYY-MM-DD format. Example: '2026-01-31' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | ||
| end_date | No | ||
| working_days | No | ||
| error | No |