Skip to content

DTO: SunTimes

Morten Rugaard edited this page Sep 5, 2022 · 1 revision

Home / DTO / Sun Times

Forecasts Measurements Miscellaneous
Alert Cloud cover Area
Alert details Direction Coordinate
Day Humidity Message
Hour Precipitation Moon
Minute Pressure Provider
Period Temperature Source
Visibility Sun times
Wind Time period

Sun Times

Details about different sun events.

Available data

Sunrise/Sunset

The time when the top edge of the sun reaches the horizon.

getValue(): \DateTime

Returns an object of type DateTime.

Civil twilight

The time when the sun is 6 degrees below the horizon.

getCivil(): \DateTime

Returns an object of type DateTime.

Nautical twilight

The time when the sun is 12 degrees below the horizon.

getNautical(): \DateTime

Returns an object of type DateTime.

Astronomical twilight

The time when the sun is 18 degrees below the horizon.

getNautical(): \DateTime

Returns an object of type DateTime.

Clone this wiki locally