Reverse Bazi To Solar Times
reverse_bazi_to_solar_timesFind possible Gregorian datetimes that produce a given four-pillar Bazi string, by scanning a custom year range with clock-time pillars.
Instructions
Find possible Gregorian datetimes that produce a given four-pillar Bazi string. This is useful when a user only has a Bazi chart or screenshot. This lookup uses clock-time pillars without location-based true solar correction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bazi | Yes | Four pillars separated by spaces, for example: 戊寅 己未 己卯 辛未. | |
| startYear | No | Start year for brute-force lookup. | |
| endYear | No | End year for brute-force lookup. Defaults to the current year. | |
| dayBoundaryMode | No | Day-change rule used during lookup. | ZI_HOUR_23 |
| limit | No | Maximum number of matching datetimes to return. |