Datatypes

ISO 8601 year and week

ID iso_week

DatatypeNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

A calendar week written as an ISO 8601 week date without the day, the week-numbering year, the letter W and a two-digit week from 01 to 53, in extended (2021-W05) or basic (2021W05) form. ISO weeks start on Monday, and week 01 is the week with the first Thursday of the year, so the week-numbering year can differ from the calendar year near 1 January. The regexp does not check that week 53 exists in the given year.

Categories
Date and time
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^\d{4}-?W(?:0[1-9]|[1-4]\d|5[0-3])$

Python re syntax.

Examples

ValueDescription
2021-W05extended format
2021W05basic format
2020-W532020 has 53 ISO weeks
2021-W54 invalidweek out of range
2021-5 invalidno W designator

Translations

LanguageNameDescription
RussianНеделя по ISO 8601
FrenchSemaine ISO 8601

Sources

Use this record