Class Thaidate
Format date in Thai locale.
public
string
|
|
public
string
|
public
boolean
|
$buddhist_era
Use Buddhist Era? (พ.ศ.) |
#
true
|
public
type
|
$locale
Locale to use in setlocale() function. Some server support different locales, with .UTF8, or without .UTF8. Detect and use at your own. |
#
'th'
|
public
array
|
$month_long
|
#
array('มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม')
|
public
array
|
$month_short
|
#
array('ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.')
|
public
array
|
$day_long
|
#
array('อาทิตย์', 'จันทร์', 'อังคาร', 'พุธ', 'พฤหัสบดี', 'ศุกร์', 'เสาร์')
|
public
array
|
$day_short
|
#
array('อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.')
|