Gregorian to lunar
Convert a valid Gregorian date, without guessing missing input.
XinanXINAN LIFE BOOK · Lunar–Gregorian conversion
Choose a direction and confirm the date and leap-month status. Compare two representations of the same day. Explicitly reuse a saved birth date or query independently; a name is not needed.
Convert a valid Gregorian date, without guessing missing input.
Changing direction clears earlier inputs to prevent mixing calendar types.
Validate leap and regular months separately and cross-check the same date both ways.
Uses lunar-javascript 1.7.7 and the UTC+8 calendar convention. A leap month is an extra month with the same number, not a Gregorian leap day. Nonexistent months and days are rejected.