grahan — the open-source sky engine
    Preparing search index...

    Function dateFromBs

    • The Gregorian date of a Bikram Sambat calendar date. Validates the BS date against the real month lengths (e.g. Baisakh 2062 has 31 days).

      Parameters

      Returns AdDateInfo

      dateFromBs({ year: 2050, month: 5, day: 2 });
      // { year: 1993, month: 8, day: 18,
      // weekday: { index: 3, name: 'Wednesday', roman: 'Budhabar', nepali: 'बुधबार' } }