Names of the days of the week Meiji era. In China, with the founding of the Republic of China in 1911, Monday through Saturday in China are now named after the luminaries implicitly with the numbers. Sunday comes first in order in calendars shown in the table below. In the Judeo-Christian or Abrahamic tradition, the first day of the week is Sunday. Biblical Sabbath (corresponding to Saturday), when God rested from , made the day following Sabbath the first day of the week (corresponding to Sunday). Seventh-day Sabbaths were sanctified for celebration and rest. After the week was adopted in early Christianity, Sunday remained the first day
Determination of the day of the week enter a self-contained function for converting a Gregorian date into a numerical day of the week. It preserves neither y nor d, and returns 0 = Sunday, 1 = Monday, etc. Shortly afterwards, Hans Lachman streamlined their algorithm for ease of use on low-end devices. As designed originally for four-function calculators, his method needs fewer keypad entries by limiting its range either to A.D. 1905-2099, or to historical Julian dates. It was later modified to convert any Gregorian date, even on an abacus. On Motorola 68000-based devices, there is similarly less need of either processor registers or opcodes, depending on