Datatypes › date

Date as DD-MM-YYYY

ID date_dmy_dash

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 as day, month and four-digit year separated by hyphens, for example 25-12-2024. It is not the ISO 8601 order, which puts the year first (the regexp of date).

Pattern of
Date date
Categories
Date and time
Countries
Global (not tied to a country)
Languages
Common to most languages
qddate pattern
dt:date:date_iso8601
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
qddate

Regular expression

^(?:0?[1-9]|[12]\d|3[01])-(?:0?[1-9]|1[0-2])-\d{4}$

Python re syntax.

Examples

ValueDescription
25-12-202425 December 2024
05-05-20225 May 2022
2024-12-25 invalid
12-25-2024 invalid

Translations

LanguageNameDescription
RussianДата в формате ДД-ММ-ГГГГКалендарная дата: день, месяц и год из четырёх цифр через дефис, например 25-12-2024.

Sources

Use this record