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
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
weekofyearbynamefield, common/dateandtime.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0?[1-9]|[1-4]\d|5[0-3])$
Python re syntax.
Test a value
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) | 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: ISO week date (en.wikipedia.org)
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