Banshoreki main entrance > Observatory > Japanese calendar
For a chosen year and month: the 24 solar terms, new moons and lunisolar months, daily stem-branch, rokuyo, lunar mansion, nine-star day chart, and the year and month pillars. A perpetual calendar replacement.
Same code as the Banshoreki reading. Solar terms and new moons are in JST and agree with the National Astronomical Observatory of Japan to the minute (see calendar verification). The lunisolar calendar after 1873 has no official definition; it follows the Tenpō rules from new moons and mid-terms.
Sun for the solar terms from the JPL Horizons tables (1900–2100); new moons from Meeus ch. 49; ΔT from Espenak & Meeus; daily stem-branch from the Julian Day number modulo 60 (2000-01-01 = 戊午). CSV is UTF-8 with BOM (Japanese column names). Everything stays on your device.