---
id: "date_german"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["datetime"]
langs: ["de"]
quality: 100
url: "http://registry.apicrafter.io/datatype/date_german"
---

# Date with a German month name (`date_german`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Calendar date written in German with the month name, day first: 5. Mai 2022, 5 Mai 2022 or 5. Mär 2022, optionally after the weekday (Donnerstag, 5. Mai 2022). The month is full or abbreviated, capitalised or in lower case. The month-first form Mai 5, 2022 is accepted too.

- Pattern of: `date`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: German (de)

## Detection

Regular expression (Python `re`):

```
^(?:(?:(?:[Mm]ontag|[Dd]ienstag|[Mm]ittwoch|[Dd]onnerstag|[Ff]reitag|[Ss]amstag|[Ss]onntag),? )?(?:0?[1-9]|[12]\d|3[01])\.? (?:[Jj]an(?:uar)?|[Ff]eb(?:ruar)?|[Mm]ärz?|[Aa]pr(?:il)?|[Mm]ai|[Jj]uni?|[Jj]uli?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo]kt(?:ober)?|[Nn]ov(?:ember)?|[Dd]ez(?:ember)?) \d{4}|(?:[Jj]an(?:uar)?|[Ff]eb(?:ruar)?|[Mm]ärz?|[Aa]pr(?:il)?|[Mm]ai|[Jj]uni?|[Jj]uli?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo]kt(?:ober)?|[Nn]ov(?:ember)?|[Dd]ez(?:ember)?) (?:0?[1-9]|[12]\d|3[01]), \d{4})$
```

## Examples

- `25. Dezember 2024` — 25 December 2024
- `Mittwoch, 25. Dezember 2024` — With the weekday
- `5. Mär 2022` — Abbreviated month
- `Dezember 2024` (invalid example)
- `25. December 2024` (invalid example)

## Mappings

- qddate: `dt:date:de_base`, `dt:date:de_base_lc`, `dt:date:de_weekday`, `dt:date:de_weekday_lc`, `dt:date:de_short`, `dt:date:de_short_lc`, `dt:date:de_rare_1`, `dt:date:de_rare_2`

## Supported by tools

- `qddate`

## Translations

- ru: Дата с немецким названием месяца: Календарная дата на немецком языке с названием месяца, например 5. Mai 2022.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Date_and_time_notation_in_Europe#Austria,_Germany,_Switzerland>
- other: <https://github.com/ivbeg/qddate/blob/v1.1.0/qddate/patterns/de.py>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/date_german.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/date_german.yaml>
