This word refers to different weather changes through the year. Some places have rainy season and dry season, while others have spring, summer, fall, and winter.
Here David describes the sun as if it knows what time of day it is. Alternate translation: "he made the sun to set when it is time" (See: [[rc://en/ta/man/translate/figs-personification]])