Week number in a year
ID week_of_year
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).
Number of a week within a year, from 1 to 53, sometimes written with a leading zero. Most years have 52 weeks. The rule for week 1 depends on the system; ISO 8601 weeks start on Monday and week 1 contains the first Thursday of the year. Data catalogs keep it in columns such as week, semaine or semana.
- 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
^(?:0?[1-9]|[1-4]\d|5[0-3])$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 1 | first week of the year |
| 05 | fifth week, with a leading zero |
| 53 | last week of a 53-week year |
| 54 invalid | no year has 54 weeks |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| epi_week | Epidemiological week (CDC MMWR week) draft | datetime, medical | global | Week number used by the US Centers for Disease Control and Prevention (CDC) to report notifiable diseases in the Morbidity and Mortality... |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Номер недели в году | |
| French | Numéro de semaine |
Sources
- wikipedia: https://en.wikipedia.org/wiki/ISO_week_date
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/week_of_year - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/week_of_year.yamlon GitHub