Psalm 104:19 in the World English Bible
He appointed the moon for seasons. The sun knows when to set.
Context
18 The high hills are a refuge for the wild goats; and the rocks for the conies.
19 He appointed the moon for seasons: the sun knoweth his going down.
20 Thou makest darkness, and it is night: wherein all the beasts of the forest do creep forth.