Calculate True Solar Time
calculate_true_solar_timeCalculate true solar time from civil birth time, longitude, and timezone to accurately determine the hour pillar in Bazi charts.
Instructions
Calculate OpenFate True Solar Time from civil birth time, longitude, timezone, and optional DST offset. Use this when explaining why the hour pillar may differ from ordinary clock-time tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes | ||
| day | Yes | ||
| hour | Yes | ||
| minute | No | ||
| longitude | Yes | Birthplace longitude in decimal degrees. | |
| timezone | No | UTC offset in hours for the clock time. | |
| timezoneId | No | IANA timezone ID, such as Asia/Shanghai. | |
| dstOffset | No | Daylight saving offset in hours. |