Working days between two dates
working_days_betweenBusiness days / working days calculator: count business days between two dates for one country, skipping weekends and public holidays, bank closures, or both (calendar: business, bank, combined). Returns the skipped dates with reasons.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start": "<start>",
"end": "<end>",
"country": "<country>"
},
"name": "working_days_between"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Second date, YYYY-MM-DD. Also accepted: YYYY-MM-DDTHH:MM, YYYY-MM-DDTHH:MM:SSZ, YYYY/MM/DD, or YYYYMMDD. | |
| start | Yes | First date, YYYY-MM-DD. Also accepted: YYYY-MM-DDTHH:MM, YYYY-MM-DDTHH:MM:SSZ, YYYY/MM/DD, or YYYYMMDD. | |
| country | Yes | ISO 3166-1 alpha-2 code or English country name. UK is accepted for the United Kingdom. | |
| calendar | No | business (default) skips national public holidays. bank skips bank closures: US Federal Reserve holidays, Danmarks Nationalbank closing days (DK), UK bank holidays (GB, or one nation GB-ENG, GB-WLS, GB-SCT, GB-NIR), and TARGET2 euro closing days. combined skips both. Other countries have no bank data, so bank and combined return an error for them. | business |
| include_end | No | Count end when it is a working day. Default false. | |
| include_start | No | Count start when it is a working day. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| days | Yes | ||
| error | No | ||
| start | Yes | ||
| source | Yes | ||
| country | Yes | ||
| skipped | Yes | ||
| calendar | Yes | ||
| holidays | Yes | ||
| candidates | No | ||
| zone_notes | No | Present when a city argument was a time zone abbreviation or fixed offset such as EST or UTC+2. Says which time zone it was read as, and what else the abbreviation can mean. | |
| include_end | Yes | ||
| alternatives | No | Other cities that matched the same name, after the best-ranked city was chosen. The order is the site search order: match, then priority, then population. | |
| country_name | Yes | ||
| include_start | Yes |