# Business days calculator

Count the working days between two dates, or add working days to a date, skipping weekends and holidays.

- Endpoint: `POST https://setget.net/v1/tools/business-days` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `business-days`
- Page: https://setget.net/tools/business-days

## Inputs

- `start` (required, string): The start date.
- `end` (optional, string): The end date, to count the working days between the two.
- `add` (optional, integer, range -36500..36500): Working days to add to the start date instead. Negative numbers go back.
- `weekend` (optional, array, default `["sat", "sun"]`): Days of the week that are not worked.
- `holidays` (optional, array): Dates that are not worked, as YYYY-MM-DD.
- `inclusive` (optional, boolean, default `true`): When counting, include the end date as well as the start date.

## Example 1

```json
{"input":{"start":"2026-03-02","end":"2026-03-13","holidays":["2026-03-06"]}}
```

Result:

```json
{"mode":"count","start":"2026-03-02","end":"2026-03-13","working_days":9,"calendar_days":12,"weekend_days":2,"holidays_skipped":["2026-03-06"]}
```

## Example 2: Five working days later

```json
{"input":{"start":"2026-03-05","add":5}}
```

Result:

```json
{"mode":"add","start":"2026-03-05","add":5,"result":"2026-03-12","weekday":"Thursday","calendar_days":7,"holidays_skipped":[]}
```

**Are the start and end dates counted?** Yes, both, when they are working days. This matches NETWORKDAYS in spreadsheets. Set inclusive to false to leave out the end date.

**Does it know public holidays?** No. Holidays differ by country and region, so list the dates you want skipped.

**My weekend is Friday and Saturday. Can I change it?** Yes. Set weekend to ["fri", "sat"], or to any other days.
