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

# Date with year, month and day units (Chinese, Japanese) (`date_cjk`)

> **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 Chinese or Japanese as numbers followed by the units for year (年), month (月) and day (日, or 号 in spoken Chinese), for example 2024年12月25日. Full-width digits are accepted, and a weekday may follow, alone or in brackets, such as (水) or 星期三.

- Pattern of: `date`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Chinese (zh), Japanese (ja)

## Detection

Regular expression (Python `re`):

```
^[0-9０-９]{4}年[0-9０-９]{1,2}月[0-9０-９]{1,2}[日号](?: ?(?:[(（](?:星期[一二三四五六日天]|周[一二三四五六日天]|[月火水木金土日](?:曜日?)?)[)）]|星期[一二三四五六日天]|周[一二三四五六日天]|[月火水木金土日]曜日))?$
```

## Examples

- `2024年12月25日` — 25 December 2024
- `２０２４年１２月２５日` — Full-width digits
- `2024年12月25日(水)` — Japanese, with the weekday Wednesday
- `2024年12月25日 星期三` — Chinese, with the weekday Wednesday
- `12月25日` (invalid example)
- `2024년 12월 25일` (invalid example)

## Mappings

- qddate: `dt:date:date_cjk`

## Supported by tools

- `qddate`

## Translations

- ru: Дата с единицами года, месяца и дня (китайский, японский): Календарная дата на китайском или японском языке: числа с иероглифами года, месяца и дня, например 2024年12月25日.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Date_and_time_notation_in_Asia#Greater_China>
- wikipedia: <https://en.wikipedia.org/wiki/Date_and_time_notation_in_Japan>
- other: <https://github.com/ivbeg/qddate/blob/v1.1.0/qddate/patterns/cjk.py>

## Quality

Score 100/100.

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