ISO week date
The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 (last revised in 2019) and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defining a notation for ordinal weeks of the year. The Gregorian leap cycle, which has 97 leap days spread across 400 years, contains a whole number of weeks ( ). In every cycle there are 71 years with an... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 (last revised in 2019) and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defining a notation for ordinal weeks of the year. The Gregorian leap cycle, which has 97 leap days spread across 400 years, contains a whole number of weeks ( ). In every cycle there are 71 years with an additional 53rd week (corresponding to the Gregorian years that contain 53 Thursdays). An average year is exactly 52.1775 weeks long; months ( year) average at exactly 4.348125 weeks/month. An ISO week-numbering year (also called ISO year informally) has 52 or 53 full weeks. That is 364 or 371 days instead of the usual 365 or 366 days. These 53-week years occur on all years that have Thursday as 1 January and on leap years that start on Wednesday. The extra week is sometimes referred to as a leap week, although ISO 8601 does not use this term. Weeks start with Monday and end on Sunday. Each week's year is the Gregorian year in which the Thursday falls. The first week of the year, hence, always contains 4 January. ISO week year numbering therefore usually deviates by 1 from the Gregorian for some days close to 1 January. A precise date is specified by the ISO week-numbering year in the format YYYY , a week number in the format ww prefixed by the letter 'W', and the weekday number, a digit d from 1 through 7, beginning with Monday and ending with Sunday. For example, the Gregorian date , corresponds to day number in the week number of , and is written as (in extended form) or (in compact form). The ISO year is slightly offset to the Gregorian year; for example, Monday 30 December 2024 in the Gregorian calendar is the first day of week 1 of 2025 in the ISO calendar, and is written as 2025-W01-1 or 2025W011. p(y) &= \left(y + \left\lfloor\frac{y}4\right\rfloor - \left\lfloor\frac{y}{100}\right\rfloor + \left\lfloor\frac{y}{400} \right\rfloor \right) \bmod 7\\ \text{weeks}(y) &= 52 + \begin{cases} 1 \text{ (long)} & \text{if } p(y) = 4 \text{, i.e. current year ends Thursday}\\ & \text{or } p(y-1) = 3 \text{, i.e. previous year ends Wednesday} \\ 0 \text{ (short)} & \text{otherwise} \end{cases} \end{align} On average, a year has 53 weeks every = 5.6338... years; there are 43 times when these long years are 6 years apart, 27 times when they are 5 years apart, and once they are 7 years apart (between years 296 and 303). The Gregorian years corresponding to these 71 long years can be subdivided as follows: 27 Gregorian leap years, emphasized in the list above: 13 starting on Thursday, hence ending on Friday, and 14 starting on Wednesday, hence ending on Thursday; 44 Gregorian common years starting, hence also ending on Thursday. The Gregorian years corresponding to the other 329 short years (neither starting nor ending with Thursday) can also be subdivided as follows: 70 are Gregorian leap years. 259 are Gregorian common years. Thus, within a 400-year cycle: 27 week years are 5 days longer than the month years (371 − 366), 6.75%. 44 week years are 6 days longer than the month years (371 − 365), 11%. 70 week years are 2 days shorter than the month years (364 − 366), 17.5%. 259 week years are 1 day shorter than the month years (364 − 365), 64.75%. The table shows the long years in a 400-year cycle. There are 28 years, i.e. a Julian solar cycle, between long years in the same column except when the century changes, when there are 40 years between the long years in the next century and the last completely filled row (or subcycle) of the previous century. There are ten regular subcycles of 28 years each and three subcycles of 40 years each. The 40-year subcycles 085–124 and 181–220 are equal, but the middle long year within the subcycle 277–316 would have to occur in 297 instead of 296 to be also the same. This illustrates the only, abnormal 7-year gap between long years. ==Advantages== All weeks have exactly 7 days, i.e. there are no fractional weeks. Every week belongs to a single year, i.e. there are no ambiguous or double-assigned weeks. The date directly tells the weekday. All week-numbering years start with a Monday and end with a Sunday. When used by itself without using the concept of month, all week-numbering years are the same except that some years have a week 53 at the end. The weeks are the same as used with the Gregorian calendar. ==Differences to other calendars== Solar astronomic phenomena, such as equinoxes and solstices, vary in the Gregorian calendar over a range spanning three days, over the course of each 400-year cycle, while the ISO Week Date calendar has a range spanning 9 days. For example, there are March equinoxes on 1920-W12-6 and 2077-W11-5 in UT. The year number of the ISO week very often differs from the Gregorian year number for dates close to 1 January. For example, 29 December 2025 is ISO 2026-W01-1, i.e. it is in "week year" 2026 instead of 2025. Confusing these two year numbers has caused some software bugs. The ISO week calendar relies on the Gregorian calendar, which it augments, to define the new year day (Monday of week 01). As a result, extra weeks are spread across the 400-year cycle in a complex, seemingly random pattern. Most calendar reform proposals using leap week designs strive to simplify and harmonize this pattern, some by choosing a different leap cycle (e.g. 293 years). Not all parts of the world consider the week to begin with Monday. For example, in some Muslim countries, the normal work week begins on Saturday, while in Israel it begins on Sunday. In much of the Americas, although the work week is usually defined to start on Monday, the calendar week is often considered to start on Sunday. y &= \text{year}(date)\\ w &= \left\lfloor \frac{10 + \text{doy}(date) - \text{dow}(date)}{7} \right\rfloor \\ \text{woy}(date) &= \begin{cases} \text{weeks}(y-1), & \text{if }w \text{weeks}(y) \\ w, & \text{otherwise.} \end{cases} \\ \text{woy}(date) &\in [1, 53] \\ \text{doy}(date) &\in [1, 366] \\ \text{dow}(date) &\in [1, 7]\\ \text{weeks}(year) &\in [52, 53]\\ \end{align} moy = 11 dom = 5 leap = 1 add = 305, from table lookup doy = 305 + 5 = 310. Alternatively, use spreadsheet serial day numbers instead: off = 42369, i.e. 31 December 2015 day = 42679 doy = 42679 − 42369 = 310. Finally, find the week number: dow = 6, i.e. Saturday woy = (10 + 310 − 6) div 7 woy = (320 − 6) div 7 woy = 314 div 7 = 44. y &= \text{year}(date)\\ d &= \text{woy}(date) \times 7 + \text{dow}(date) - (\text{dow}(y, 1, 4) + 3) \\ \text{doy}(date) &= \begin{cases} d + \text{days}(y-1), & \text{if }d \text{days}(y)\\ d, & \text{otherwise.} \end{cases} \\ \text{days}(year) &\in [365, 366]\\ \end{align} ==Other week numbering systems== The US system has weeks from Sunday through Saturday, and partial weeks at the beginning and the end of the year, i.e. 52 full and 1 partial week of 1 or 2 days if the year starts on Sunday or ends on Saturday, 52 full and 2 single-day weeks if a leap year starts on Saturday and ends on Sunday, otherwise 51 full and 2 partial weeks. An advantage is that no separate year numbering like the ISO year is needed. Correspondence of lexicographical order and chronological order is preserved (just like with the ISO year-week-weekday numbering), but partial weeks make some computations of weekly statistics or payments inaccurate at the end of December or the beginning of January or both. The US broadcast calendar designates the week containing 1 January (and starting Monday) as the first of the year, but otherwise works like ISO week numbering without partial weeks. Up to six days of the previous December may be part of the first week of the year. A mix of those, wherein weeks start Sunday and "containing 1 January" defines the first week, is used in US accounting, resulting in a system with years having also 52 or 53 weeks. ==References== ==External links== The Mathematics of the ISO 8601 Calendar ISO week date calendar Details About how many weekends in a year With Deep Discussion
Cite this
"ISO week date". 1778404154. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1353454244 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy