PakDataKit - v2.2.0
    Preparing search index...

    Function getPakistanHolidays

    • 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.

      Parameters

      • year: number

        Gregorian year

      • options: HolidayOptions = {}

        Christian holidays, announced dates and estimate offset

      Returns 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, ... }