Home › Everyday Life › Count Pakistan Working Days

Count Pakistan Working Days

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

When to use

You need an auditable Pakistan working-day count.

Do not use when: This package covers the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized.

Example user requests

Formula

for each included date: working_days += status.is_working_day

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

Inputs

ParameterTypeUnitRequiredDescription
start_datedateyesFirst date in 2026-2026.
end_datedateyesLast date in 2026-2026.
include_start_datebooleandefault trueWhether start_date participates.
include_end_datebooleandefault trueWhether end_date participates.

Outputs

OutputTypeUnitDescription
working_daysintegerAuthority-scope working dates.
non_working_daysintegerWeekend and exact authority events.
public_holidays_countedlistExact events in the range.
territorystringPK (Pakistan).
territory_namestringPakistan
day_typestringDeterministic classification: official_weekend, regular_workday, or the first published authority event kind.
holiday_namesstring_listEvents applying on the date.
holiday_kindsstring_listAuthority event classifications.
holiday_detailslistStructured event details, including partial-day notes where published.
calendar_scopestringPakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline
holiday_policystringPakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications
substitute_day_policystringpublished_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate
calendar_profilestringpakistan-public-holidays
dataset_versionstringpk-federal-public-2026.1
sourceslistAuthority and legislation sources.

Example

Eid-ul-Azha federal closure: {"start_date":"2026-05-26","end_date":"2026-05-28","include_start_date":true,"include_end_date":true} → {"working_days":0,"non_working_days":3}

GET https://tttkmbb.com/api/v1/calculate/pakistan-public-working-days-between?start_date=2026-05-26&end_date=2026-05-28&include_start_date=true&include_end_date=true

Machine access

Sources

FAQ

Does this cover every Pakistan employer or bank?

No. It is the nationwide federal public-holiday layer. Provinces, banks, exchanges, courts, schools, diplomatic missions and private employers can publish different calendars.

Why are lunar dates not copied from every calendar?

The package prioritizes later Cabinet Division festival notifications over the annual estimate and discloses conflicts with exchange or diplomatic calendars.

Are replacement holidays inferred when a date falls on Sunday?

No. Only published federal dates are included; no automatic lieu day is invented.

Related calculators