In a vast number of languages, the names given to the seven days of the week (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday) are derived from the names of the seven heavenly bodies (the Sun, Moon, Mars, Mercury, Jupiter, Venus, and Saturn) which were in turn named after contemporary Hellenistic deities. This system was introduced by the Sumerians and later adopted by the Babylonians from whom the Roman Empire adopted the system during late antiquity. In some other languages, the days are named after corresponding deities of the regional culture. The seven-day week was adopted in early Christianity from the Hebrew calendar, and gradually replaced the Roman internundinum. Eight-day and seven-day weeks existed side-by-side until the Emperor Constantine made the seven-day week official in AD 321; thereafter, the seven-day week spread throughout the Roman Empire and eventually through Christian cultures around the world.
The history of the seven-day week can be traced to ancient civilizations. Sunday remained the first day of the week, being considered the day of the sun god Sol Invictus and the Lord's Day, while the Jewish Sabbath remained the seventh. Most historians agree the seven-day week dates back to Babylonians who started using it about 4,000 years ago. The number 7 was sacred to the Babylonians. Emperor Constantine of the Roman Empire made the Day of the Sun (, "Sunday") a legal holiday centuries later.
In the international standard ISO 8601, Monday is treated as the first day of the week, but in many countries it is counted as the second day of the week.
Between the first and third centuries CE, the Roman Empire gradually replaced the eight-day Roman nundinal cycle with the seven-day week. The earliest evidence for this new system is a Pompeiian graffito referring to 6 February (ante diem viii idus Februarias) of the year 60 CE as dies solis ("Sunday"). Another early witness is a reference to a lost treatise by Plutarch, written in about 100 CE, which addressed the question of: "Why are the days named after the planets reckoned in a different order from the 'actual' order?" The treatise is lost, but the answer to the question is known; see planetary hours.
The Ptolemaic system of planetary spheres asserts that the order of the heavenly bodies from the farthest to the closest to the Earth is Saturn, Jupiter, Mars, Sun, Venus, Mercury, and the Moon; objectively, the planets are ordered from slowest to fastest moving as they appear in the night sky.
The days were named after the classical planets of Hellenistic astrology, in the order: Sun (Helios), Moon (Selene), Mars (Ares), Mercury (Hermes), Jupiter (Zeus), Venus (Aphrodite), and Saturn (Cronus).
The seven-day week spread throughout the Roman Empire in late antiquity. By the fourth century CE, it was in wide use throughout the Empire.
The Greek and Latin names are as follows:
Except for in Portuguese and Mirandese, the Romance languages preserved the Latin names, except for the names of Sunday, which was replaced by [dies] Dominicus (Dominica), that is, "the Lord's Day", and of Saturday, which was named for the Jewish Sabbath. Mirandese and Portuguese use numbered weekdays, but retain sábado and demingo/domingo for weekends. Meanwhile, Galician occasionally uses them alongside the traditional Latin-derived names, albeit to a lesser extent (see below).
Early Old Irish adopted the names from Latin, but introduced separate terms of Norse origin for Wednesday, Thursday and Friday, then later supplanted these with terms relating to church fasting practices.