Datoformat i Thailand
ประเทศไทย
Datoformat Brukt i Thailand
DD/MM/YYYY
Eksempel: 31/12/2568
Andre formater brukt:
DD/MM/YYYY
DD/MM/BE (Buddhist Era)
Dagens Dato i Thailand
31/12/2568
Format Detaljer
| Primært Format | DD/MM/YYYY |
| Skilletegn | / |
| Stedskode | th-TH |
| Kalendersystem | Buddhist Era (BE = CE + 543) |
Merk: Thailand uses Buddhist Era calendar, add 543 to Gregorian year
Datoformat for Thailand i Kode
JavaScript
const date = new Date();
// Format for Thailand
const formatted = date.toLocaleDateString('th-TH');
console.log(formatted); // 31/12/2568
Python
from datetime import datetime
import locale
# Format for Thailand
locale.setlocale(locale.LC_TIME, 'th_TH')
date = datetime.now()
formatted = date.strftime('%d/%m/%Y')
print(formatted) # 31/12/2568