get_business_days
Calculate business days between two dates, excluding weekends and custom holidays, for accurate scheduling and planning. Supports timezone adjustments for precision.
Instructions
Calculate business days between dates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date | |
| exclude_weekends | No | Exclude weekends (default: true) | |
| holidays | No | Array of holiday dates | |
| start_date | Yes | Start date | |
| timezone | No | Timezone for calculation (default: system timezone) |
Input Schema (JSON Schema)
{
"properties": {
"end_date": {
"description": "End date",
"type": "string"
},
"exclude_weekends": {
"description": "Exclude weekends (default: true)",
"type": "boolean"
},
"holidays": {
"description": "Array of holiday dates",
"items": {
"type": "string"
},
"type": "array"
},
"start_date": {
"description": "Start date",
"type": "string"
},
"timezone": {
"description": "Timezone for calculation (default: system timezone)",
"type": "string"
}
},
"required": [
"start_date",
"end_date"
],
"type": "object"
}