General: AstronomyDayType

Relevant services:

Contents:

NameDescription
date

Date for the current information.

Type: String / ISO8601 Date

daylength

Length of this day (time between sunrise and sunset). If the sun is not up on this day, 00:00:00 will reported. If the sun does not set on this day, the value will read 24:00:00.

Attribute only applies for the sun object and if requested.

Type: String

moonphase

Moon phase for the day. Only if requested.

Type: String / Moon Phase

event (XML), events (JSON)

Lists all events during the day.

Type: Array of AstronomyDayEventType

Note: For locations north of the arctic circle, or south of the antarctic circle, the assumptions that there is exactly one sunrise and one sunset event per day, or that the sun will rise before it sets, are not true!

Depending on the date, there may be two sunset events on the same day, or the sun first sets and rises shortly after. For an example, see the sunrise and sunset times for Svalbard during the month of August.