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

    Function panchangAtSunrise

    • The sunrise-labelled panchang of a civil date: elements at sunrise plus every transition touching the vedic day.

      Parameters

      Returns PanchangAtSunrise

      const p = panchangAtSunrise({
      year: 2026, month: 7, day: 2,
      latitude: 27.7172, longitude: 85.324, timezone: 'Asia/Kathmandu',
      });
      // p.vaar.name → 'Thursday'
      // p.tithi[0].name → 'Dwitiya' (krishna), upto p.tithi[0].endsAt 09:53 NPT
      // p.tithi[1].name → 'Tritiya' — the label of the *next* civil day