Chinese Almanac (每日黃曆)
Lunar date, ganzhi pillars and the traditional daily markers — computed entirely in your browser by the same WASM kernel that powers the public API.
Pick a date to see its almanac. The page itself makes zero network requests after load.
Loading the kernel…
Two systems, printed side by side — and why they never agree
A third daily marker, 六曜 (liùyào,大安/赤口/先勝…), is a later folk layer with its own convention; and the Purple-White stars (紫白) have several incompatible derivations — where our kernel refuses to output a value the literature leaves genuinely ambiguous (the day Purple-White star), it says so explicitly instead of guessing.
How this is computed
- Lunar date and leap months: new-moon chain + GB/T 33661-2017 leap rules, cross-checked against the Hong Kong Observatory 1901–2100 (99.88% month starts, all divergences attributed).
- Year/month pillars flip at the exact Lichun/jie instants; the day pillar uses the civil (midnight) boundary. Other conventions are available on the chart verifier and in the API.
- The same numbers are served by the public
GET /v1/calendar?date=YYYY-MM-DDendpoint — same kernel binary, byte-identical output.
Boundary note: all fields use Beijing time (UTC+8). Pre-1929 historical almanacs used Beijing Local Mean Time for the civil date — that is why some old almanacs differ by one day from this page in a handful of near-midnight years.