Secrets of Enoch (2 Enoch, Slavonic Enoch) 65:3
And the Lord contemplated the world for the sake of man, and made all the creation for his sake, and divided it into times. And from the times He made years, and from the years He made months, and from the months He made days, and of the days He made seven.