Returns the dawn (civil twilight start), sunrise, solar noon, sunset, and dusk (civil twilight end) for a latitude/longitude on a given date, plus the total day length.
Provide latitude and longitude (decimal degrees). date defaults to today; timezone (IANA name) controls the output time zone and defaults to UTC. At extreme latitudes the sun may not rise or set on a given date; those fields are null and polar is true. Computed locally.
Date (YYYY-MM-DD). Defaults to today.
Latitude in decimal degrees.
Optional IANA time zone for the output (e.g. America/New_York). Defaults to UTC.
Longitude in decimal degrees.