These parameters return the times of sunrise and sunset in UTC at a given location.
sunrise:<unit>
sunset:<unit>
Sunrise and sunset times are available in the following units: sql, dn, ux
sql will return a time stamp according to the ISO-86011 format (YYYY-MM-DDThh:mm:ssZ).
dn refers to the date number. The date number represents the whole and fractional number of days from 1-Jan-0000 to a specific date and is equivalent to the serial date number used in Matlab.
ux refers to the Unix timestamp. It gives the total number of elapsed seconds since 00:00:00 UTC on the 1st of January 1970.
Note: Some special cases may occur, which give rise to the following outputs (no date/time outputs):
-777: The sun is not visible
-888: The sun is always visible
Note: When these variables are queried for a specific time, the last sunrise before the query’s time will be returned. The sunset that will be returned will be the one following the sunrise mentioned before. In general, the returned sunset will always be after the returned sunrise and the returned sunrise will be the last one before the query time.
The UV Index is computed based on model outputs and downscaled with 90m-resolution topography data. Instantaneous values as well as maxima within certain time periods can be queried.
Your satisfaction is our goal, which is why we use cookies. With these cookies, we enable our website to run reliably and securely, keep an eye on performance, and better engage with you.
Cookies are necessary for everything to function technically, and they allow you to access external content. Additionally, we collect data, including information about visited pages, completed purchases, or clicked buttons, to enhance our services for you.
Learn more about the services we use in the "Cookie Settings" section. By clicking "Agree and Continue", you consent to the use of these services. You can revoke or modify your consent at any time with effect for the future.