Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Convert a modern DateTime object to the traditional Ahargana (Sum of Days).

      [Ch. I, v.48-51]

      Siddhantic Proof: Madhyama (Mean Motions) v.48

      Sanskrit (Devanagari):

      कल्पादिगुणितं कालमुपर्युपरि संस्थितं । सौरैर्वर्षगतैः सार्धं संकल्य तानि पिण्डयेत् ॥

      Translation (Burgess):

      Having multiplied the time from the beginning of the creation by the number of years, add to the product the number of years elapsed of the current year.

      Modern Technical Commentary:

      The first step of the Ahargana (heaping of days) process: converting cumulative Kalpa/Yuga time into a single count of elapsed solar years.

      Siddhantic Proof: Madhyama (Mean Motions) v.48

      Sanskrit (Devanagari):

      कल्पादिगुणितं कालमुपर्युपरि संस्थितं । सौरैर्वर्षगतैः सार्धं संकल्य तानि पिण्डयेत् ॥

      Translation (Burgess):

      Having multiplied the time from the beginning of the creation by the number of years, add to the product the number of years elapsed of the current year.

      Modern Technical Commentary:

      The first step of the Ahargana (heaping of days) process: converting cumulative Kalpa/Yuga time into a single count of elapsed solar years.

      This is the core time input for the library. All planetary positions (True Longitudes) are derived purely from this single day-count value.

      Parameters

      • dt: Date | DateTime<boolean>

        Modern DateTime or JS Date

      • Optionallocation: Location

        Geographic location for local time adjustments

      Returns number

      The Ahargana value (decimal days since Kali Epoch)