Sun on the outer ring, moon on the inner. The open marks are the moon’s nodes; an eclipse needs the sun on a thick arc.

The year, unrolled

How this day is reckoned

The program shows its working for this day, as the old mathematical books did: the rule, then the sums.

    The literary year

    The texts are chosen from the wenyan.pro library. 傳 marks a day known from tradition, not from the text itself.

    Where the four calendars part

    Years in which the New Year falls on different days.

    These are what today’s meridians give for every year. Vietnam adopted 105°E in 1968 and Korea did not keep 135°E throughout, so earlier rows show what the rule would have produced, not what was printed.

      The text that computes this page

      Nine chapters of Classical Chinese. What you read is what runs; comments are shown without their markers.

      Which procedure calls which

      Read from the source itself. Choose a name to open it.

      What this almanac can and cannot say

      How it was checked, and where it stops.

      Checked. All 73,049 days from 1901 to 2100 were compared with an independent calendar library at the Chinese meridian. Four months differ: three before 1929, when China still counted from Beijing local time, and one in August 2097 near midnight, where this program agrees with JPL’s DE441 ephemeris.

      Precision. Across 1900 to 2049, solar terms agree with JPL’s DE421 ephemeris to within 3.3 seconds (0.9 s rms), and new moons to within 17 seconds (4.6 s rms). When either falls within two minutes of midnight, the page says it cannot decide the day.

      Sky. Eclipse dates and kinds match a reference list of 452 solar and 457 lunar eclipses for 1901 to 2100, apart from a handful of borderline cases; times agree to about a minute. An eclipse of the sun is reported for the Earth as a whole, not for a city. Sunrise and sunset agree with a reference to within a minute.

      Meridians. China 120°E, Japan and Korea 135°E, Vietnam 105°E, applied to every date. Historical calendars used other meridians and older methods, so early twentieth-century dates may differ from what was printed then.

      Texts. The pairings of days and texts are an editor’s choice from the 150 excerpts of wenyan.pro; each quoted line stands in the passage or in its preface or colophon there.

      Names. The Chinese seasons go back to the 逸周書, with the changes the Jin and Yuan calendars made; the commentary ascribed to Wu Cheng, 月令七十二候集解, heads three of them a word shorter (豺祭獸, 雉雊, 雞乳). The Japanese ones follow the 略本暦. The Cantonese, Japanese, Korean and Vietnamese readings still need a native reader’s eye.