Chinese lunar date converter
convert_chinese_lunar_dateConverts a Gregorian date to the Chinese lunisolar calendar or back: lunar year, month, day, whether the month is a leap month, when it began, and the solar term in effect. Takes "date" or "lunar", one of the two.
A month starts on the day, at Beijing time, of its new moon, so tables built in another zone can put months a day off. Placement follows GB/T 33661-2017. Leap months, 2033-2035 and pre-1929 dates come back unverified, with no date.
Results include an attribution line and a permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Gregorian date, ISO YYYY-MM-DD, 1929-3025. Example: "2024-02-10". Neither: today (UTC). | |
| leap | No | "yes" if the lunar date is in a leap month; only with lunar. Example: "yes". | |
| lunar | No | Lunar year-month-day, YYYY-MM-DD, year = Gregorian year of its month 1. Example: "2024-01-01". |