@hebcal/hdate
    Preparing search index...

    Function hebrew2abs

    • Converts Hebrew date to R.D. (Rata Die) fixed days. R.D. 1 is the imaginary date Monday, January 1, 1 on the (proleptic) Gregorian Calendar.

      R.D. is the common currency between the two calendars: convert a Hebrew date to R.D. with this function, then to a Gregorian Date with abs2greg.

      Parameters

      • year: number

        Hebrew year

      • month: number

        Hebrew month (1=NISAN, 7=TISHREI)

      • day: number

        Hebrew date (1-30)

      Returns number

      R.D. number of days

      if any argument is not a number

      if year is less than 1

      import {hebrew2abs, months} from '@hebcal/hdate';
      hebrew2abs(5769, months.CHESHVAN, 15); // 733359