The prophet s.a.w compares two units of time together, a day and a year. Then when asked about the duty of salah on that long day he tells us to calculate. Why? Becuase theres no consecutive day and night order for that long day, it will be daylight for 365 days. And God knows best