Four Pillars (full)
bazi_four_pillarsCalculate the Four Pillars of BaZi (year, month, day, hour) using the HKO-canonical 60-jiazi cycle. Accepts date, time, and timezone offset for accurate day-shift handling.
Instructions
All four pillars: year, month, day, hour. Day pillar uses HKO-canonical 60-jiazi cycle (anchor 1990-01-01 = Yi-Wei). Pass time to compute hour pillar; pass time + timezoneOffset for traditional 23:00-CST day-shift handling.
[Group: BaZi (Four Pillars)]
Example request body: {"date":"1990-05-15","time":"14:30:00","timezoneOffset":3}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date YYYY-MM-DD | |
| latitude | No | Latitude (some date-only endpoints accept location) | |
| longitude | No | Longitude | |
| timezoneOffset | No | UTC offset in hours |