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)
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

ValueDescription
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

LanguageNameDescription
Thaiวันที่ (ชื่อเดือนภาษาไทย)
RussianДата с тайским названием месяца

Sources

Use this record