ISO week date

ISO week date

The ISO week date system is a leap week calendar system that is part of the ISO 8601 date and time standard. The system is used (mainly) in government and business for fiscal years, as well as in timekeeping.

The system uses the same cycle of 7 weekdays as the Gregorian calendar. Weeks start with Monday. ISO week-numbering years have a year numbering which is approximately the same as the Gregorian years, but not exactly (see below). An ISO week-numbering year has 52 or 53 full weeks (364 or 371 days). The extra week is here called a leap week (ISO 8601 does not use the term).

A 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, 2006-W52-7 (or in compact form 2006W527) is the Sunday of the 52nd week of 2006. In the Gregorian system this day is called 31 December 2006.

The system has a 400-year cycle of 146,097 days (20,871 weeks), with an average year length of exactly 365.2425 days, just like the Gregorian calendar. In every 400 years there are 71 years with 53 weeks.

The first week of a year is the week that contains the first Thursday of a year.

Relation with the Gregorian calendar

The ISO week-numbering year number deviates from the number of the Gregorian year on, if applicable, a Friday, Saturday, and Sunday, or a Saturday and Sunday, or just a Sunday, at the start of the Gregorian year (which are at the end of the previous ISO year) and a Monday, Tuesday and Wednesday, or a Monday and Tuesday, or just a Monday, at the end of the Gregorian year (which are in week 01 of the next ISO year). In the period 4 January–28 December and on all Thursdays the ISO week-numbering year number is always equal to the Gregorian year number.

Mutually equivalent definitions for week 01 are:
*the week with the year's first Thursday in it (the ISO 8601 definition)
*the week starting with the Monday which is nearest in time to 1 January
*the week with the year's first working day in it (if Saturdays, Sundays, and 1 January are not working days)
*the week with January 4 in it
*the first week with the majority (four or more) of its days in the starting year
*the week starting with the Monday in the period 29 December - 4 January
*the week with the Thursday in the period 1 - 7 January
*If 1 January is on a Monday, Tuesday, Wednesday or Thursday, it is in week 01. If 1 January is on a Friday, Saturday or Sunday, it is in week 52 or 53 of the previous year.

Note that while most definitions are symmetric with respect to time reversal, one definition in terms of working days happens to be equivalent.

The last week of the ISO week-numbering year is the week before week 01; in accordance with the symmetry of the definition, equivalent definitions are:CURRENTCALENDAR
*the week with the year's last Thursday in it
*the week ending with the Sunday which is nearest in time to 31 December
*the week with December 28 in it
*the last week with the majority (four or more) of its days in the ending year
*the week starting with the Monday in the period 22 - 28 December
*the week with the Thursday in the period 25 - 31 December
*the week ending with the Sunday in the period 28 December - 3 January
*If 31 December is on a Monday, Tuesday, or Wednesday, it is in week 01 of the next year, otherwise in week 52 or 53.

The following years have 53 weeks:
*years starting with Thursday
*leap years starting with Wednesday

Examples

*2005-01-01 is ISOWEEKDATE|2005|01|01
*2005-01-02 is ISOWEEKDATE|2005|01|02
*2005-12-31 is ISOWEEKDATE|2005|12|31
*2007-01-01 is ISOWEEKDATE|2007|01|01 (both years 2007 start with the same day)
*2007-12-30 is ISOWEEKDATE|2007|12|30
*2007-12-31 is ISOWEEKDATE|2007|12|31
*2008-01-01 is ISOWEEKDATE|2008|01|01 (Gregorian year 2008 is a leap year, ISO year 2008 is 2 days shorter: 1 day longer at the start, 3 days shorter at the end)
*2008-12-29 is ISOWEEKDATE|2008|12|29
*2008-12-31 is ISOWEEKDATE|2008|12|31
*2009-01-01 is ISOWEEKDATE|2009|01|01
*2009-12-31 is ISOWEEKDATE|2009|12|31 (ISO year 2009 has 53 weeks, extending the Gregorian year 2009, which starts and ends with Thursday, at both ends with three days)
*2010-01-03 is ISOWEEKDATE|2010|01|03

Example where the ISO week-numbering year is three days into the next Gregorian year

*2009-12-31 is ISOWEEKDATE|2009|12|31
*2010-01-01 is ISOWEEKDATE|2010|1|1
*2010-01-02 is ISOWEEKDATE|2010|1|2
*2010-01-03 is ISOWEEKDATE|2010|1|3
*2010-01-04 is ISOWEEKDATE|2010|1|4

Example where the ISO week-numbering year is three days into the previous Gregorian year

*2008-12-28 is ISOWEEKDATE|2008|12|28
*2008-12-29 is ISOWEEKDATE|2008|12|29
*2008-12-30 is ISOWEEKDATE|2008|12|30
*2008-12-31 is ISOWEEKDATE|2008|12|31
*2009-01-01 is ISOWEEKDATE|2009|1|1

The system does not need the concept of month and is not well connected with the Gregorian system of months: some months January and December are divided over two ISO years.

Week number

Overview of dates with a fixed week number in any year other than a leap year starting on Thursday:

The day of the week for these days are related to Doomsday because for any year, the Doomsday is the day of the week that the last day of February falls on.These dates are one day after the Doomsdays, except that in January and February of leap years the dates themselves are Doomsdays. In leap years the week number is the rank number of its Doomsday.

Advantages

*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.

Disadvantages

Each equinox and solstice varies over a range of at least seven days. This is because each equinox and solstice may occur any day of the week and hence on at least seven different ISO week dates. For example, there are spring equinoxes on 2004-W12-7 and 2010-W11-7.

It does not replace the Gregorian calendar, which it uses to define the new year day (Week 1 Day 1). However, it could be defined without reference to Gregorian. One needs at most a defined start and a table of year-lengths over the 400-year cycle.

Not all parts of the world have a work week that begins with Monday. For example, in some Muslim countries, the work week may begin on Saturday while in other Muslim countries it may begin on Sunday.

The calendar cycle

There are 13 28-year subcycles with 5 leap years (53-week years) each, and 6 remaining leap years in the remaining 36 years (the absence of leap "days" in the Gregorian calendar in 2100, 2200, and 2300 interrupts the subcycles). The leap years are 27 times 5 years apart, 43 times 6 years, and once 7 years. (A slightly more even distribution would be possible: 26 times 5 years apart, and 45 times 6 years.)

The Gregorian years corresponding to the 71 ISO leap years can be subdivided as follows:
*27 Gregorian leap years:
**13 leap years starting on Thursday - Doomsday is Sunday, dominical letter is DC.
**14 leap years starting on Wednesday, hence ending with Thursday) - Doomsday is Saturday, dominical letter is ED.
*44 common years starting, hence also ending, with Thursday - Doomsday is Saturday, dominical letter is D.

Thus 27 ISO years are 5 days longer than the corresponding Gregorian year, and 44 are 6 days longer. Of the other 329 Gregorian years (neither starting nor ending with Thursday), 70 are Gregorian leap years, and 259 are non-leap years, so 70 ISO years are 2 days shorter, and 259 are 1 day shorter.

Other week numbering systems

For an overview of week numbering systems see week number. The US system has weeks from Sunday through Saturday, and partial weeks at the beginning and the end of the year. An advantage is that no separate year numbering like the ISO year is needed, while correspondence of lexicographical order and chronological order is preserved.

ee also

*Week

External links

* [http://henry.pha.jhu.edu/calendarDir/newton.html List of ISO leap years] - here the leap weeks are called Newton
* [http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm The Mathematics of the ISO 8601 Calendar]
* [http://www.probabilityof.com/excel.shtml#21 A generic Excel Calendar with ISO Week numbers]
* [http://www.personal.ecu.edu/mccartyr/isowdcal.html ISO week day calendar]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • ISO 8601 — Data elements and interchange formats – Information interchange – Representation of dates and times is an international standard covering the exchange of date and time related data. It was issued by the International Organization for… …   Wikipedia

  • Date and time notation in the United States — Date In the United States, dates are traditionally written in the month day year order, that is, in neither descending nor ascending order of significance. (In computing, this would be called a middle endian order.) This order is used in both the …   Wikipedia

  • ISO 2015 — is a standard superseded by ISO 8601 [cite web url=http://isotc.iso.org/livelink/livelink/4021199/ISO 8601 2004 E.zip?func=doc.Fetch nodeid=4021199 title=ISO 8601:2004(E) accessdate=2006 11 15 date=2004 12 01 publisher=ISO author=Technical… …   Wikipedia

  • Date and time notation by country — Different style conventions and habits exist around the world for dates and times in writing and speaking. Examples:*The order that a year, month, and day are written. *How weeks are identified. *The 24 hour clock and/or the 12 hour clock. *The… …   Wikipedia

  • ISO 8601 usage — On the Internet, the World Wide Web Consortium (W3C) uses ISO 8601 in defining a profile of the standard that restricts the supported date and time formats to reduce the chance of error and the complexity of software. [ [http://www.w3.org/TR/NOTE …   Wikipedia

  • Date and time notation in Canada — Canada has signed up to use the ISO 8601 format for date and time representation through national standard CSA Z234.5:1989. Date The Canadian Standards Association has adopted the ISO 8601 yyyy MM dd (e.g., 2009 12 31) date format; however, the… …   Wikipedia

  • Numerotation ISO des semaines — Numérotation ISO des semaines Le système de numérotation ISO des semaines est un système de calendrier faisant partie du standard d horodatation ISO 8601. Le système est principalement utilisé par les gouvernements et entreprises basé sur les… …   Wikipédia en Français

  • Numérotation iso des semaines — Le système de numérotation ISO des semaines est un système de calendrier faisant partie du standard d horodatation ISO 8601. Le système est principalement utilisé par les gouvernements et entreprises basé sur les années fiscales. Ce système a… …   Wikipédia en Français

  • Leap week calendar — A leap week calendar is a calendar system with a whole number of weeks every year, and with every year starting on the same weekday. Most leap week calendars are proposed reforms to the civil calendar, but some such as the ISO week number… …   Wikipedia

  • ISO-8601 — La norme internationale ISO 8601 spécifie la représentation numérique de la date et de l heure. Cette notation est particulièrement destinée à éviter tout risque de confusion dans les communications internationales dû au grand nombre de notations …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”