Datatypes › Date and time › date
Date with a Thai month name
วันที่ (ชื่อเดือนภาษาไทย)
ID date_thai
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 with the day, the Thai name or abbreviation of the month and the year, which is in the Buddhist era and has four or two digits: 24 กรกฎาคม 2566, 17 มิ.ย. 2556, 1-พ.ย.-65. Spreadsheets exported with a Thai locale write the short form with hyphens.
- Pattern of
- Date
date - Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Thai
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
thdatethaivaluedata, th/th_datetime.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0?[1-9]|[12]\d|3[01])[ -]?(?:มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม|ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)[ -]?(?:\d{2}|2[4-6]\d{2})$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 24 กรกฎาคม 2566 | 24 July 2023 |
| 17 มิ.ย.2556 | 17 June 2013 |
| 1-พ.ย.-65 | 1 November 2022 (2565), the short form of spreadsheets |
| 24 July 2023 invalid | an English month name |
Translations
| Language | Name | Description |
|---|---|---|
| Thai | วันที่ (ชื่อเดือนภาษาไทย) | |
| Russian | Дата с тайским названием месяца |
Sources
- wikipedia: Thai solar calendar (en.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/date_thai - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date_thai.yamlon GitHub