# Count Switzerland Working Days

> Counts authority-scope working and non-working dates in a range.

- Calculator id: `switzerland-public-working-days-between` · Category: Everyday Life (`everyday`) · Tool name: `count_ch_working_days`
- Canonical page: https://tttkmbb.com/everyday/switzerland-public-working-days-between · This document: https://tttkmbb.com/everyday/switzerland-public-working-days-between.md · JSON definition: https://tttkmbb.com/everyday/switzerland-public-working-days-between.json

## Purpose

Counts authority-scope working and non-working dates in a range.

**Use when:** You need an auditable Switzerland working-day count.

**Do not use when:** Federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays.

## Example user requests

- Count Switzerland working days around Swiss National Day.
- Count Switzerland working days around Cantonal holiday is not inferred.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `start_date` | date |  | required | First date in 2026-2027. |
| `end_date` | date |  | required | Last date in 2026-2027. |
| `include_start_date` | boolean |  | optional, default true | Whether start_date participates. |
| `include_end_date` | boolean |  | optional, default true | Whether end_date participates. |

## Output

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `working_days` | integer |  | Authority-scope working dates. |
| `non_working_days` | integer |  | Weekend and exact authority events. |
| `public_holidays_counted` | list |  | Exact events in the range. |
| `territory` | string |  | CH (Switzerland). |
| `territory_name` | string |  | Switzerland |
| `day_type` | string |  | Deterministic classification: official_weekend, regular_workday, or the first published authority event kind. |
| `holiday_names` | string_list |  | Events applying on the date. |
| `holiday_kinds` | string_list |  | Authority event classifications. |
| `holiday_details` | list |  | Structured event details, including partial-day notes where published. |
| `calendar_scope` | string |  | Switzerland federal public holiday layer for 2026-2027 |
| `holiday_policy` | string |  | Swiss National Day on 1 August is included as the only federal public holiday. |
| `substitute_day_policy` | string |  | No nationwide substitute-day closure is inferred when 1 August falls on a weekend. |
| `calendar_profile` | string |  | switzerland-public-holidays |
| `dataset_version` | string |  | ch-federal-public-holiday-2026-2027.1 |
| `sources` | list |  | Authority and legislation sources. |

## Formula

`for each included date: working_days += status.is_working_day`

Normalize endpoints and count exact authority events over the declared weekday baseline.

## Data Sources

- Swiss Confederation ch.ch – Public holidays — https://www.ch.ch/en/work/working-hours/vacation--public-holidays-and-absences-from-work/ (swiss_confederation_official_guidance)
- SECO – Leisure time and public holidays — https://www.seco.admin.ch/seco/en/home/Arbeit/Arbeitsbedingungen/Arbeitsgesetz-und-Verordnungen/FAQ/freizeit-und-feiertage.html (swiss_federal_labour_authority)
- Swiss Confederation – National holiday — https://www.aboutswitzerland.eda.admin.ch/en/national-holiday-and-national-anthem (swiss_federal_authority)

Data freshness: `static`. Pinned ch-federal-public-holiday-2026-2027.1 package.

## API

- `GET https://tttkmbb.com/api/v1/calculate/switzerland-public-working-days-between?start_date=…&end_date=…`
- `POST https://tttkmbb.com/api/v1/calculate/switzerland-public-working-days-between` with JSON body `{"inputs": {…}}`
- Response: unified envelope (`success`, `request`, `result.values`, `result.units`, `sources`, `freshness`, `timestamp`, `next_actions`, `links`); see https://tttkmbb.com/docs/response-format.md
- Schema: https://tttkmbb.com/api/v1/calculators/switzerland-public-working-days-between · OpenAPI operationId `count_ch_working_days` in https://tttkmbb.com/openapi.json
- Authentication: none. Rate limit: fair use, see https://tttkmbb.com/docs/rate-limits.md.

## MCP

- Server: `https://tttkmbb.com/mcp` (Streamable HTTP, JSON-RPC 2.0, no auth)
- Tool:  `run_calculator` with `{"calculator_id": "switzerland-public-working-days-between", "inputs": {…}}`

## Example

- Swiss National Day is counted as non-working: inputs `{"start_date":"2026-08-01","end_date":"2026-08-01","include_start_date":true,"include_end_date":true}` → `{"working_days":0,"non_working_days":1}`

```
GET https://tttkmbb.com/api/v1/calculate/switzerland-public-working-days-between?start_date=2026-08-01&end_date=2026-08-01&include_start_date=true&include_end_date=true
```

## Limitations

Federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays. Normalize endpoints and count exact authority events over the declared weekday baseline. All values are computed from the formula above; no measurement or live data is involved.

## FAQ

**Does this package include Swiss cantonal holidays?**

No. The Swiss Confederation identifies 1 August as the only federal public holiday; cantonal holidays vary and require a canton-specific package.

## Related

- [Switzerland Working Day](https://tttkmbb.com/everyday/switzerland-public-working-day.md) — Inspect a date and source evidence.
