Skip to content

getPakistanHolidays

function getPakistanHolidays(year, options?): Holiday[];

Defined in: holidays.ts:237

Lists Pakistan’s federal public holidays for a year, sorted by date.

Islamic holidays use the dates actually observed after moon sighting (2020 onwards, from Cabinet Division and SBP notifications). For years not yet in the dataset they are estimated from the tabular Hijri calendar and marked estimated: true; pass announced to use official dates instead.

Optional holidays (e.g. Shab-e-Barat, Easter, Youm-e-Ali) are not included.

Parameter Type Description
year number Gregorian year
options? HolidayOptions Christian holidays, announced dates and estimate offset

Holiday[]

Holidays in date order

getPakistanHolidays(2025).find((h) => h.id === 'eid-ul-fitr');
// { id: 'eid-ul-fitr', name: 'Eid ul Fitr', date: '2025-03-31', type: 'religious', estimated: false, ... }