Names of the days of the week is followed by a number indicating the day: "Monday" is literally "star day one", "Tuesday" is "star day two", etc. The exception is Sunday, where rì (日), meaning "sun" or "day", is used instead of a number. In Swahili, the day begins at sunrise, unlike in the Arabic and Hebrew calendars where the day starts at sunset (therefore an offset of twelve hours), and unlike in the Western world where the day starts at midnight (therefore an offset of six hours). Saturday is therefore the first day of the week, as it is the day that includes the first night
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