Datatypes › Date and time

Year

ID year

DatatypeNot PII

A calendar year in western notation like 2022 or 1913

Categories
Date and time
Countries
Global (not tied to a country)
Languages
Common to most languages
Microsoft CDM
means.calendar.year
Sherlock and Sato
year
Quality
80/100 · missing: longer description, negative example, translation
Metacrafter rules
25 rules (22 by field name, 3 by value)
Supported by tools
csv-detective, Doduo, Frictionless Table Schema, Google Data Studio, Logstash and Elastic grok patterns, metacrafter, Sato, Sherlock

Regular expression

^\d{4}$

Python re syntax.

Test a value

Examples

ValueDescription
2022 Year 2022
1243 Year 1243

Patterns

Specific representations of this datatype.

IDNameCategoriesCountriesDescription
year_jp_era Year in a Japanese era (wareki) pattern datetime JP Year written with a Japanese era name and the year of that era, in full (平成4年) or with the one-character abbreviation of the era (昭58,...
year_th_be Year in the Thai Buddhist era pattern datetime TH Year of the Thai solar calendar, counted in the Buddhist era (พ.ศ.): the Gregorian year plus 543, as in 2561 for 2018. Thai licence and...

Child datatypes

IDNameCategoriesCountriesDescription
birth_year Year of birth PII persons, pii, datetime global Year in which a person was born, written with four digits, for example 1984. Data sets publish it instead of the full date of birth to...
fiscal_year Fiscal (financial) year datetime, finances global Financial or fiscal year that does not start on 1 January, written as the two calendar years it spans: the first year and the last two...

Sources

Use this record