---
id: "date_roc"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["datetime"]
country: ["TW"]
langs: ["zh"]
quality: 80
url: "https://registry.apicrafter.io/datatype/date_roc"
---

# Date in the ROC (Minguo) calendar (`date_roc`)

> **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 of the Republic of China (Minguo) calendar used in Taiwan, written as the ROC year, month and day without separators (YYYMMDD), as in 1081223 for 23 December 2019. The ROC year is the Gregorian year minus 1911; years before 100 (2011) are written with a leading zero, as in 0991231.

- Pattern of: `date`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: Taiwan (TW)
- Languages: Chinese (zh)

## Detection

Regular expression (Python `re`):

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

## Examples

- `1081223` — 23 December 2019
- `1140101` — 1 January 2025
- `0991231` — 31 December 2010
- `1081323` (invalid example) — Month 13

## Translations

- zh: 民國日期

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Minguo_calendar>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

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