Compute the time of sunrise/sunset on a particular day.