24 solar terms of a year
get_solar_termsReturns the 24 solar terms of a "year" (1926-3026): the instant the Sun reaches each 15-degree mark of ecliptic longitude, in UTC, Beijing time and an optional zone, each with its uncertainty band in seconds.
A term's date depends on the clock it is read in, and fixed-date lists can be a day off either way. A year whose band touches a midnight comes back unverified, with no dates.
Results include an attribution line and a permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA zone or UTC offset hours for local times. Example: "America/New_York". | |
| year | No | Gregorian year, YYYY, 1926-3026. Example: "2026". Defaults to this year (UTC). |