Daylight hours and celestial motions