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
| Value | Description |
|---|---|
| 25-12-2024 | 25 December 2024 |
| 05-05-2022 | 5 May 2022 |
| 2024-12-25 invalid | |
| 12-25-2024 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Дата в формате ДД-ММ-ГГГГ | Календарная дата: день, месяц и год из четырёх цифр через дефис, например 25-12-2024. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/List_of_date_formats_by_country
- other: https://github.com/ivbeg/qddate/blob/v1.1.0/qddate/patterns/base.py
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/date_dmy_dash - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date_dmy_dash.yamlon GitHub