chinese-lunar-date API - v1.0.5
    Preparing search index...

    Function dayGanZhi

    Heavenly Stems (天干) and Earthly Branches (地支) calculations. Used for year/month/day pillars in traditional Chinese timekeeping.

    • Get day GanZhi from JDE (Julian Ephemeris Day)

      Uses the continuous sexagenary cycle based on Julian Day Number. The reference point: JDN 2451551 (2000-01-07) is 甲子日.

      Parameters

      • jde: number

        Julian Ephemeris Day

      Returns GanZhiPair

      GanZhi pair for the day

      dayGanZhi(2451551.5)  // { gan: 0, zhi: 0 } → 甲子