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

    Function vaar

    • The vaar an instant belongs to, given that location's local sunrise for the instant's civil date.

      Parameters

      • date: Date
      • timezone: string
      • sunrise: Date

      Returns Vaar

      vaar(new Date('1993-08-18T05:15:00Z'), 'Asia/Kathmandu', sunriseDate);
      // { index: 3, name: 'Wednesday', vaar: 'Budhavaar' }