Datatypes › date

Date with a Spanish month name

ID date_spanish

Pattern of dateNot PIIDraft

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).

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 de may de 2022, optionally after the weekday (jueves, 5 mayo 2022). The month-first form mayo 5, 2022 is accepted too.

Pattern of
Date date
Categories
Date and time
Countries
Global (not tied to a country)
Languages
Spanish
qddate pattern
dt:date:es_base, dt:date:es_base_lc, dt:date:es_base_article, dt:date:es_base_lc_article, dt:date:es_rare_1, dt:date:es_rare_2, dt:date:es_short, dt:date:es_short_lc, dt:date:es_short_monthfirst, dt:date:es_short_lc_monthfirst, dt:date:es_weekday, dt:date:es_weekday_lc
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
qddate

Regular expression

^(?:(?:(?:[Ll]unes|[Mm]artes|[Mm]iércoles|[Jj]ueves|[Vv]iernes|[Ss]ábado|[Dd]omingo),? )?(?:0?[1-9]|[12]\d|3[01]) (?:[Dd]e (?:[Ee]ne(?:ro)?|[Ff]eb(?:rero)?|[Mm]ar(?:zo)?|[Aa]br(?:il)?|[Mm]ayo?|[Jj]un(?:io)?|[Jj]ul(?:io)?|[Aa]go(?:sto)?|[Ss]ep(?:tiembre)?|[Oo]ct(?:ubre)?|[Nn]ov(?:iembre)?|[Dd]ic(?:iembre)?)(?: [Dd]e|,)|(?:[Ee]ne(?:ro)?|[Ff]eb(?:rero)?|[Mm]ar(?:zo)?|[Aa]br(?:il)?|[Mm]ayo?|[Jj]un(?:io)?|[Jj]ul(?:io)?|[Aa]go(?:sto)?|[Ss]ep(?:tiembre)?|[Oo]ct(?:ubre)?|[Nn]ov(?:iembre)?|[Dd]ic(?:iembre)?),?) \d{4}|(?:[Ee]ne(?:ro)?|[Ff]eb(?:rero)?|[Mm]ar(?:zo)?|[Aa]br(?:il)?|[Mm]ayo?|[Jj]un(?:io)?|[Jj]ul(?:io)?|[Aa]go(?:sto)?|[Ss]ep(?:tiembre)?|[Oo]ct(?:ubre)?|[Nn]ov(?:iembre)?|[Dd]ic(?:iembre)?) (?:0?[1-9]|[12]\d|3[01]), \d{4})$

Python re syntax.

Examples

ValueDescription
25 de diciembre de 202425 December 2024
25 diciembre 2024Without the preposition
Miércoles, 25 Diciembre 2024With the weekday
diciembre de 2024 invalid
25 de december de 2024 invalid

Translations

LanguageNameDescription
RussianДата с испанским названием месяцаКалендарная дата на испанском языке с названием месяца, например 5 de mayo de 2022.

Sources

Use this record