time_t sun_rise(const time_t *timer)
Return the time of sunrise, at the location of the observer. See the note about daylight_seconds().