Home › Everyday Life › Count Kenya Working Days
Count Kenya Working Days
Counts authority-scope working and non-working dates in a range.
When to use
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.
Formula
for each included date: working_days += status.is_working_day
Normalize endpoints and count exact authority events over the declared weekday baseline.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
start_date | date | yes | First date in 2026-2026. | |
end_date | date | yes | Last date in 2026-2026. | |
include_start_date | boolean | default true | Whether start_date participates. | |
include_end_date | boolean | default true | Whether end_date participates. |
Outputs
| Output | 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. |
Example
Easter public-holiday period: {"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
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/kenya-public-working-days-between(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/kenya-public-working-days-between · Markdown: https://tttkmbb.com/everyday/kenya-public-working-days-between.md · JSON definition: https://tttkmbb.com/everyday/kenya-public-working-days-between.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="kenya-public-working-days-between" - OpenAPI operationId:
count_ke_working_days - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- Kenya Law – Public Holidays Act (Cap. 110) (government_legal_primary)
- President of Kenya – Statute Law (Miscellaneous Amendments) Act 2024 (government_official_legal_notice)
- Kenya Law – Official Gazette archive (government_official_gazette_index)
- Kenya Ministry of Interior – public-holiday mandate (government_official_mandate)
- Kenya Gazette Notice No. 3955 – Idd-ul-Fitr 2026 (government_official_gazette_notice)
- Kenya Gazette – Eid-ul-Adha 2026 notice (reported notice) (government_official_gazette_notice_reference)
- Citizen Digital – Idd-ul-Fitr 2026 government announcement (reputable_national_news_cross_check)
- The Standard Kenya – Eid-ul-Adha 2026 Gazette report (reputable_national_news_cross_check)
- Japan External Trade Organization – Kenya 2026 holiday table (reputable_institutional_cross_check)
- Kenya Broadcasting Corporation – Eid-ul-Adha 2026 report (government_broadcaster_cross_check)
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 calculators
- Kenya Working Day — Inspect a date and source evidence.