Datatypes › date

Date as DD-MM-YY

ID date_dmy_dash_yy

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 two-digit year separated by hyphens, for example 25-12-24. The century is not written and has to be inferred.

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_short
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{2}$

Python re syntax.

Examples

ValueDescription
25-12-2425 December 2024
05-05-225 May 2022
25-12-2024 invalid

Translations

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

Sources

Use this record