@hebcal/hdate
    Preparing search index...

    Function daysInMonth

    • Number of days in Hebrew month in a given year (29 or 30)

      Parameters

      • month: number

        Hebrew month (e.g. months.TISHREI)

      • year: number

        Hebrew year

      Returns number

      import {daysInMonth, months} from '@hebcal/hdate';
      daysInMonth(months.CHESHVAN, 5769); // 29
      daysInMonth(months.KISLEV, 5769); // 30