Datatypes › date

Date as YYYY/MM/DD

ID date_ymd_slash

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 four-digit year, month and day separated by slashes, for example 2024/12/25, as often written in Japan.

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_3
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
qddate

Regular expression

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

Python re syntax.

Examples

ValueDescription
2024/12/2525 December 2024
2022/5/55 May 2022
25/12/2024 invalid
2024-12-25 invalid

Translations

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

Sources

Use this record