int32_t daylight_seconds(const time_t *timer)
Computes the amount of time the sun is above the horizon, at the location of the observer.
NOTE: At observer locations inside a polar circle, this value can be zero during the winter, and can exceed ONE_DAY during the summer.
The returned value is in seconds.