# Count Philippines Working Days

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

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

## Purpose

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

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

**Do not use when:** Local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred.

## Example user requests

- Count Philippines working days around EDSA remains a special working day.
- Count Philippines working days around Eid'l Adha is a declared holiday.


## 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 |  | PH (Philippines). |
| `territory_name` | string |  | Philippines |
| `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 |  | Philippines nationwide presidential-proclamation calendar |
| `holiday_policy` | string |  | Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation. |
| `substitute_day_policy` | string |  | No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates. |
| `calendar_profile` | string |  | philippines-public-holidays |
| `dataset_version` | string |  | ph-op-proclamations-holidays-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

- Philippines Proclamation No. 1006 (2026 holidays) — https://elibrary.judiciary.gov.ph/thebookshelf/showdocs/7/99678 (government_proclamation)
- Philippines Proclamation No. 1189 (2026 Eid'l Fitr) — https://pco.gov.ph/news_releases/proclamation-no-1189-s-2026-declaring-friday-20-march-2026-a-regular-holiday-throughout-the-country-in-observance-of-eidl-fitr-feast-of-ramadhan/ (government_news_release)
- Philippines Proclamation No. 1264 (2026 Eid'l Adha) — https://elibrary.judiciary.gov.ph/thebookshelf/showdocs/7/101531 (government_proclamation)
- Philippines Presidential Communications Office 2027 holiday announcement — https://pco.gov.ph/news_releases/pbbm-declares-2027-regular-and-special-holidays/ (government_news_release)

Data freshness: `static`. Pinned ph-op-proclamations-holidays-2026-2027.1 package.

## API

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

## Example

- Coverage starts with a published event: inputs `{"start_date":"2026-01-01","end_date":"2026-01-01","include_start_date":true,"include_end_date":true}` → `{"working_days":0,"non_working_days":1}`

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

## Limitations

Local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not 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

**Is every listed date a day off?**

No. The package preserves the proclamation's special working day classification; local and employer calendars are outside scope.

## Related

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