Date
ID date
DatatypeNot PII
Calendar date. The regexp covers the ISO 8601 extended form YYYY-MM-DD; other notations, such as DD.MM.YYYY, are patterns of this datatype.
- Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
date-chinese,date-d,date-hijri,date1,date10,date2,date3,date4- Microsoft CDM
means.measurement.date- Presidio
DATE_TIME- qddate pattern
dt:date:date_9- Quality
- 100/100
- Metacrafter rules
- 14 rules (10 by field name, 4 by value)
ardateknownfield, ar/ar_datetime.yamlcompactdatebynamefield, common/dateandtime.yamlcompactdatevaluedata, common/dateandtime.yamldatedatebyknownfield, common/dateandtime.yamldateknownfield, common/dateandtime.yamlisodatevaluedata, common/dateandtime.yamldedatedmyyvaluedata, de/de_persons.yamlesdatetimenamefield, es/es_datetime.yaml- and 6 more (see the JSON)
- Supported by tools
- Alteryx Designer Cloud, Auto-Type, Amazon Comprehend, Azure AI Language PII detection, Collibra Data Classification, csv-detective, Dataiku DSS, DataPrep, Capital One DataProfiler, Frictionless Table Schema, Google Data Studio, Great Expectations Semantic Types Expectations, Logstash and Elastic grok patterns, IBM Knowledge Catalog (IBM watsonx.data intelligence), Metabase, metacrafter, Nightfall AI, OpenMetadata auto-classification, Oracle Analytics Desktop, Microsoft Presidio, Private AI (Limina), qddate, SAS Information Catalog (Quality Knowledge Base), Soda, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory), validator.js, visions and ydata-profiling
Regular expression
^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 2025-05-15 | ISO 8601 date |
| 1993-12-30 | Date of a document in the register of cultural heritage objects |
| 2025-13-01 invalid | There is no month 13 |
| 15.05.2025 invalid | Day-first notation, the pattern date_dmy |
Patterns
Specific representations of this datatype.
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| date_albanian | Date with a Albanian month name pattern | datetime | global | Calendar date written in Albanian with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_arabic | Date with a Arabic month name pattern | datetime | global | Calendar date written in Arabic with the month name, day, month and year in the order of the CLDR long (d MMMM y) date formats of the ar... |
| date_belarusian | Date with a Belarusian month name pattern | datetime | global | Calendar date written in Belarusian with the month name, day, month and year in the order of the CLDR long (d MMMM y 'г'.) and medium (d... |
| date_bosnian | Date with a Bosnian month name pattern | datetime | global | Calendar date written in Bosnian with the month name, day, month and year in the order of the CLDR long (d. MMMM y.) and medium (d. MMM... |
| date_bulgarian | Date with a Bulgarian month name pattern | datetime | global | Calendar date written in Bulgarian with the month name, day first, for example 5 май 2022 or 25 декември 2024, optionally followed by г.... |
| date_catalan | Date with a Catalan month name pattern | datetime | global | Calendar date written in Catalan with the month name, day, month and year in the order of the CLDR long (d MMMM 'del' y) and medium (d... |
| date_cjk | Date with year, month and day units (Chinese, Japanese) pattern | datetime | global | Calendar date written in Chinese or Japanese as numbers followed by the units for year (年), month (月) and day (日, or 号 in spoken... |
| date_croatian | Date with a Croatian month name pattern | datetime | global | Calendar date written in Croatian with the month name, day, month and year in the order of the CLDR long (d. MMMM y.) and medium (d. MMM... |
| date_czech | Date with a Czech month name pattern | datetime | global | Calendar date written in Czech with the month name, day first, usually with a dot after the day and the month in the genitive case (5.... |
| date_danish | Date with a Danish month name pattern | datetime | global | Calendar date written in Danish with the month name, day, month and year in the order of the CLDR long (d. MMMM y) and medium (d. MMM y)... |
| date_dmony | Date as DDMONYY pattern | datetime | global | Calendar date written as a two-digit day, the three-letter English month abbreviation in upper case and a two-digit year, without... |
| date_dmy | Date in DD.MM.YYYY notation pattern | datetime | global | Calendar date written as a two-digit day, a two-digit month and a four-digit year separated by dots, such as 31.12.2022. This day-first... |
| date_dmy_compact | Date as DDMMYYYY pattern | datetime | global | Calendar date written as eight digits without separators: two-digit day, two-digit month and four-digit year, for example 25122024. A... |
| date_dmy_dash | Date as DD-MM-YYYY pattern | datetime | global | Calendar date written as day, month and four-digit year separated by hyphens, for example 25-12-2024. It is not the ISO 8601 order,... |
| date_dmy_dash_yy | Date as DD-MM-YY pattern | datetime | global | Calendar date written as day, month and two-digit year separated by hyphens, for example 25-12-24. The century is not written and has to... |
| date_dmy_dot_yy | Date as DD.MM.YY pattern | datetime | global | Calendar date written as day, month and two-digit year separated by dots, for example 25.12.24, sometimes with a dot after the year... |
| date_dmy_slash | Date as DD/MM/YYYY pattern | datetime | global | Calendar date written as day, month and four-digit year separated by slashes, for example 25/12/2024, as in the United Kingdom and... |
| date_dmy_slash_yy | Date as DD/MM/YY pattern | datetime | global | Calendar date written as day, month and two-digit year separated by slashes, for example 25/12/24. The century is not written and has to... |
| date_dutch | Date with a Dutch month name pattern | datetime | global | Calendar date written in Dutch with the month name, day first: 5 mei 2022 or 5 mrt 2022, optionally after the weekday (donderdag 5 mei... |
| date_english | Date with an English month name pattern | datetime | global | Calendar date written in English with the month name, full or abbreviated, capitalised or in lower case. The day comes first (5 May... |
| date_estonian | Date with a Estonian month name pattern | datetime | global | Calendar date written in Estonian with the month name, day, month and year in the order of the CLDR long (d. MMMM y) and medium (d. MMM... |
| date_finnish | Date with a Finnish month name pattern | datetime | global | Calendar date written in Finnish with the month name, day, month and year in the order of the CLDR long (d. MMMM y) date formats of the... |
| date_french | Date with a French month name pattern | datetime | global | Calendar date written in French with the month name, day first: 5 mai 2022, le 5 mai 2022, 5 sept 2022, optionally after the weekday... |
| date_german | Date with a German month name pattern | datetime | global | Calendar date written in German with the month name, day first: 5. Mai 2022, 5 Mai 2022 or 5. Mär 2022, optionally after the weekday... |
| date_greek | Date with a Greek month name pattern | datetime | global | Calendar date written in Greek with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_hebrew | Date with a Hebrew month name pattern | datetime | global | Calendar date written in Hebrew with the month name, day, month and year in the order of the CLDR long (d בMMMM y) and medium (d בMMM y)... |
| date_hindi | Date with a Hindi month name pattern | datetime | global | Calendar date written in Hindi with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_hungarian | Date with a Hungarian month name pattern | datetime | global | Calendar date written in Hungarian with the month name, day, month and year in the order of the CLDR long (y. MMMM d.) and medium (y.... |
| date_icelandic | Date with a Icelandic month name pattern | datetime | global | Calendar date written in Icelandic with the month name, day, month and year in the order of the CLDR long (d. MMMM y) and medium (d. MMM... |
| date_indonesian | Date with a Indonesian month name pattern | datetime | global | Calendar date written in Indonesian with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM... |
| date_italian | Date with an Italian month name pattern | datetime | global | Calendar date written in Italian with the month name, day first: 5 maggio 2022 or 5 mag 2022, optionally after the weekday (giovedì 5... |
| date_jp_era | Date in a Japanese era (wareki) pattern | datetime | JP | Calendar date written with a Japanese era name (gengō) and the year of that era, for example 令和7年7月20日 or the abbreviated form 平成 9.... |
| date_korean | Date with year, month and day units (Korean) pattern | datetime | global | Calendar date written in Korean as numbers followed by the units for year (년), month (월) and day (일), for example 2024년 12월 25일. A... |
| date_latvian | Date with a Latvian month name pattern | datetime | global | Calendar date written in Latvian with the month name, day, month and year in the order of the CLDR long (y. 'gada' d. MMMM) and medium... |
| date_lithuanian | Date with a Lithuanian month name pattern | datetime | global | Calendar date written in Lithuanian with the month name, day, month and year in the order of the CLDR long (y 'm'. MMMM d 'd'.) date... |
| date_malay | Date with a Malay month name pattern | datetime | global | Calendar date written in Malay with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_mdy_slash | Date as MM/DD/YYYY (United States) pattern | datetime | global | Calendar date written as month, day and four-digit year separated by slashes, for example 12/25/2024, the usual numeric date in the... |
| date_mdy_slash_yy | Date as MM/DD/YY (United States) pattern | datetime | global | Calendar date written as month, day and two-digit year separated by slashes, for example 12/25/24, as in the United States. The century... |
| date_norwegian | Date with a Norwegian month name pattern | datetime | global | Calendar date written in Norwegian with the month name, day, month and year in the order of the CLDR long (d. MMMM y) and medium (d. MMM... |
| date_persian | Date with a Persian month name pattern | datetime | global | Calendar date written in Persian with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_polish | Date with a Polish month name pattern | datetime | global | Calendar date written in Polish with the month name, day first, usually with the month in the genitive case (5 maja 2022), optionally... |
| date_portuguese | Date with a Portuguese month name pattern | datetime | global | Calendar date written in Portuguese with the month name, day first: 5 de maio de 2022, 5 maio 2022 or 5 mai 2022, optionally after the... |
| date_roc | Date in the ROC (Minguo) calendar pattern | datetime | TW | Calendar date of the Republic of China (Minguo) calendar used in Taiwan, written as the ROC year, month and day without separators... |
| date_romanian | Date with a Romanian month name pattern | datetime | global | Calendar date written in Romanian with the month name, day first: 5 mai 2022 or, with an abbreviated month, 5 ian. 2022. The month is... |
| date_russian | Date with a Russian month name pattern | datetime | global | Calendar date written in Russian with the month name in the genitive case, day first: 5 мая 2022, 5 мая 2022 г. or 5 мая 2022 года,... |
| date_serbian | Date with a Serbian month name pattern | datetime | global | Calendar date written in Serbian with the month name, day, month and year in the order of the CLDR long (d. MMMM y.) date formats of the... |
| date_slovak | Date with a Slovak month name pattern | datetime | global | Calendar date written in Slovak with the month name, day first, usually with a dot after the day and the month in the genitive case (5.... |
| date_slovenian | Date with a Slovenian month name pattern | datetime | global | Calendar date written in Slovenian with the month name, day, month and year in the order of the CLDR long (d. MMMM y) and medium (d. MMM... |
| date_spanish | Date with a Spanish month name pattern | datetime | global | Calendar date written in Spanish with the month name, day first, with or without the preposition de: 5 de mayo de 2022, 5 mayo 2022, 5... |
| date_swedish | Date with a Swedish month name pattern | datetime | global | Calendar date written in Swedish with the month name, day, month and year in the order of the CLDR long (d MMMM y) and medium (d MMM y)... |
| date_th_be | Date with a Thai Buddhist era year pattern | datetime | TH | Calendar date written as day, month and year with the year in the Buddhist era (พ.ศ., the Gregorian year plus 543), as in 17/06/2567 for... |
| date_thai | Date with a Thai month name pattern | datetime | global | Calendar date written with the day, the Thai name or abbreviation of the month and the year, which is in the Buddhist era and has four... |
| date_turkish | Date with a Turkish month name pattern | datetime | global | Calendar date written in Turkish with the month name, day first, for example 5 Mayıs 2022, optionally followed by tarihinde or tarihli... |
| date_ukrainian | Date with a Ukrainian month name pattern | datetime | global | Calendar date written in Ukrainian with the month name, day first: 5 травня 2022 (genitive), 5 травень 2022 (nominative) or 5 трав. 2022... |
| date_vietnamese | Date with a Vietnamese month name pattern | datetime | global | Calendar date written in Vietnamese with the month name, day, month and year in the order of the CLDR long (d MMMM, y) and medium (d... |
| date_ymd_compact | Date as YYYYMMDD pattern | datetime | global | Calendar date written as eight digits without separators: four-digit year, two-digit month and two-digit day, for example 20241225. This... |
| date_ymd_dot | Date as YYYY.MM.DD pattern | datetime | global | Calendar date written as four-digit year, month and day separated by dots, for example 2024.12.25. |
| date_ymd_slash | Date as YYYY/MM/DD pattern | datetime | global | Calendar date written as four-digit year, month and day separated by slashes, for example 2024/12/25, as often written in Japan. |
| excel_serial_date | Date as an Excel serial number pattern | datetime | global | Date written as the serial day number of spreadsheets, days since 30 December 1899, as in 36872 for 12 December 2000. Data exported from... |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| birthday | Birthday PII stable | pii, datetime | global | A birthday is the anniversary of the birth of a person, or figuratively of an institution. Birthdays of people are celebrated in... |
| deathday | Date of death PII stable | pii, datetime | global | Date of death of the person |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Дата | Календарная дата. Регулярное выражение описывает форму ISO 8601 ГГГГ-ММ-ДД; другие нотации, например ДД.ММ.ГГГГ, описаны шаблонами этого типа. |
Sources
- wikipedia: Date and time notation (en.wikipedia.org)
- wikipedia: ISO 8601 (en.wikipedia.org)
- schema.org: schema.org/Date
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/date - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date.yamlon GitHub