# Count Kenya Working Days

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

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

## Purpose

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

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

**Do not use when:** This package covers the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred.

## Example user requests

- Count Kenya working days around Idd-ul-Fitr public holiday.
- Count Kenya working days around Ordinary Kenya working day.


## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `start_date` | date |  | required | First date in 2026-2026. |
| `end_date` | date |  | required | Last date in 2026-2026. |
| `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 |  | KE (Kenya). |
| `territory_name` | string |  | Kenya |
| `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 |  | Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline |
| `holiday_policy` | string |  | Kenya_Public_Holidays_Act_and_2026_Gazette_Notices |
| `substitute_day_policy` | string |  | Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice |
| `calendar_profile` | string |  | kenya-public-holidays |
| `dataset_version` | string |  | ke-national-public-2026.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

- Kenya Law – Public Holidays Act (Cap. 110) — https://new.kenyalaw.org/akn/ke/act/1912/21/eng@2022-12-31/source (government_legal_primary)
- President of Kenya – Statute Law (Miscellaneous Amendments) Act 2024 — https://www.president.go.ke/president-ruto-signs-into-law-the-statute-law-bill-2024/ (government_official_legal_notice)
- Kenya Law – Official Gazette archive — https://new.kenyalaw.org/akn/ke/officialGazette/2026-01-07/4/eng@2026-01-07 (government_official_gazette_index)
- Kenya Ministry of Interior – public-holiday mandate — https://www.interior.go.ke/our-mandate-functions/ (government_official_mandate)
- Kenya Gazette Notice No. 3955 – Idd-ul-Fitr 2026 — https://new.kenyalaw.org/akn/ke/officialGazette/2026-03-18/50/eng@2026-03-18/source (government_official_gazette_notice)
- Kenya Gazette – Eid-ul-Adha 2026 notice (reported notice) — https://new.kenyalaw.org/akn/ke/officialGazette/2026-05-25/0/eng@2026-05-25/source (government_official_gazette_notice_reference)
- Citizen Digital – Idd-ul-Fitr 2026 government announcement — https://citizen.digital/article/govt-declares-friday-a-public-holiday-to-celebrate-idd-ul-fitr-n379280 (reputable_national_news_cross_check)
- The Standard Kenya – Eid-ul-Adha 2026 Gazette report — https://www.standardmedia.co.ke/national/article/2001548672/wednesday-declared-public-holiday-to-mark-eid-ul-adha (reputable_national_news_cross_check)
- Japan External Trade Organization – Kenya 2026 holiday table — https://www.jetro.go.jp/world/africa/ke/holiday.html (reputable_institutional_cross_check)
- Kenya Broadcasting Corporation – Eid-ul-Adha 2026 report — https://www.kbc.co.ke/government-declares-wednesday-public-holiday-to-mark-eid-ul-adha/?doing_wp_cron=1787345313.468600988 (government_broadcaster_cross_check)

Data freshness: `static`. Pinned ke-national-public-2026.1 package.

## API

- `GET https://tttkmbb.com/api/v1/calculate/kenya-public-working-days-between?start_date=…&end_date=…`
- `POST https://tttkmbb.com/api/v1/calculate/kenya-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/kenya-public-working-days-between · OpenAPI operationId `count_ke_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": "kenya-public-working-days-between", "inputs": {…}}`

## Example

- Easter public-holiday period: inputs `{"start_date":"2026-04-03","end_date":"2026-04-06","include_start_date":true,"include_end_date":true}` → `{"working_days":0,"non_working_days":4}`

```
GET https://tttkmbb.com/api/v1/calculate/kenya-public-working-days-between?start_date=2026-04-03&end_date=2026-04-06&include_start_date=true&include_end_date=true
```

## Limitations

This package covers the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred. 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 include a Monday substitute for Saturday holidays?**

No. The Public Holidays Act expressly addresses a holiday falling on Sunday; it does not establish a blanket Saturday-to-Monday rule. The package includes only dates supported by the Act or a specific 2026 Gazette notice.

**Does this answer every Kenyan employer or county?**

No. It is the nationwide public-holiday layer over a stated weekday baseline. Private employers, counties, banks, schools, diplomatic missions and shift rosters may have different schedules.

**Are the Eid dates forecasts?**

Not for the pinned year: 20 March and 27 May 2026 are represented as dates declared or reported from Kenya Gazette notices. Future lunar dates are not extrapolated.

## Related

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