Compute the sun's position at date (treated as the absolute moment in UTC) as seen from latitude / longitude.
date
latitude
longitude
JS Date — interpreted as the UTC moment regardless of the running environment's timezone. Pass new Date() for "now".
Date
new Date()
Site latitude in degrees, positive north, range [-90, 90].
[-90, 90]
Site longitude in degrees, positive east, range [-180, 180].
[-180, 180]
Compute the sun's position at
date(treated as the absolute moment in UTC) as seen fromlatitude/longitude.