| DateTime-Locale documentation | Contained in the DateTime-Locale distribution. |
DateTime::Locale::th_TH
use DateTime; my $dt = DateTime->now( locale => 'th_TH' ); print $dt->month_name();
This is the DateTime locale package for Thai Thailand.
This locale inherits from the DateTime::Locale::th locale.
It contains the following data.
วันจันทร์ วันอังคาร วันพุธ วันพฤหัสบดี วันศุกร์ วันเสาร์ วันอาทิตย์
จ. อ. พ. พฤ. ศ. ส. อา.
จ อ พ พ ศ ส อ
วันจันทร์ วันอังคาร วันพุธ วันพฤหัสบดี วันศุกร์ วันเสาร์ วันอาทิตย์
จ. อ. พ. พฤ. ศ. ส. อา.
จ อ พ พ ศ ส อ
มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม
ม.ค. ก.พ. มี.ค. เม.ย. พ.ค. มิ.ย. ก.ค. ส.ค. ก.ย. ต.ค. พ.ย. ธ.ค.
ม.ค. ก.พ. มี.ค. เม.ย. พ.ค. มิ.ย. ก.ค. ส.ค. ก.ย. ต.ค. พ.ย. ธ.ค.
มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม
ม.ค. ก.พ. มี.ค. เม.ย. พ.ค. มิ.ย. ก.ค. ส.ค. ก.ย. ต.ค. พ.ย. ธ.ค.
ม.ค. ก.พ. มี.ค. เม.ย. พ.ค. มิ.ย. ก.ค. ส.ค. ก.ย. ต.ค. พ.ย. ธ.ค.
ไตรมาส 1 ไตรมาส 2 ไตรมาส 3 ไตรมาส 4
Q1 Q2 Q3 Q4
1 2 3 4
ไตรมาส 1 ไตรมาส 2 ไตรมาส 3 ไตรมาส 4
Q1 Q2 Q3 Q4
1 2 3 4
ปีก่อนคริสต์ศักราช คริสต์ศักราช
ปีก่อน ค.ศ. ค.ศ.
ปีก่อน ค.ศ. ค.ศ.
2008-02-05T18:30:30 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008 1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995 -0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10
2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008 1995-12-22T09:05:02 = 22 ธันวาคม 1995 -0010-09-15T04:44:23 = 15 กันยายน -10
2008-02-05T18:30:30 = 5 ก.พ. 2008 1995-12-22T09:05:02 = 22 ธ.ค. 1995 -0010-09-15T04:44:23 = 15 ก.ย. -10
2008-02-05T18:30:30 = 5/2/2008 1995-12-22T09:05:02 = 22/12/1995 -0010-09-15T04:44:23 = 15/9/-010
2008-02-05T18:30:30 = 5 ก.พ. 2008 1995-12-22T09:05:02 = 22 ธ.ค. 1995 -0010-09-15T04:44:23 = 15 ก.ย. -10
2008-02-05T18:30:30 = 18 นาฬิกา 30 นาที 30 วินาที UTC 1995-12-22T09:05:02 = 9 นาฬิกา 5 นาที 02 วินาที UTC -0010-09-15T04:44:23 = 4 นาฬิกา 44 นาที 23 วินาที UTC
2008-02-05T18:30:30 = 18 นาฬิกา 30 นาที 30 วินาที UTC 1995-12-22T09:05:02 = 9 นาฬิกา 5 นาที 02 วินาที UTC -0010-09-15T04:44:23 = 4 นาฬิกา 44 นาที 23 วินาที UTC
2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23
2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44
2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23
2008-02-05T18:30:30 = วันอังคารที่ 5 กุมภาพันธ์ ค.ศ. 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC 1995-12-22T09:05:02 = วันศุกร์ที่ 22 ธันวาคม ค.ศ. 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC -0010-09-15T04:44:23 = วันเสาร์ที่ 15 กันยายน ปีก่อน ค.ศ. -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
2008-02-05T18:30:30 = 5 กุมภาพันธ์ 2008, 18 นาฬิกา 30 นาที 30 วินาที UTC 1995-12-22T09:05:02 = 22 ธันวาคม 1995, 9 นาฬิกา 5 นาที 02 วินาที UTC -0010-09-15T04:44:23 = 15 กันยายน -10, 4 นาฬิกา 44 นาที 23 วินาที UTC
2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30 1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02 -0010-09-15T04:44:23 = 15 ก.ย. -10, 4:44:23
2008-02-05T18:30:30 = 5/2/2008, 18:30 1995-12-22T09:05:02 = 22/12/1995, 9:05 -0010-09-15T04:44:23 = 15/9/-010, 4:44
2008-02-05T18:30:30 = 5 ก.พ. 2008, 18:30:30 1995-12-22T09:05:02 = 22 ธ.ค. 1995, 9:05:02 -0010-09-15T04:44:23 = 15 ก.ย. -10, 4:44:23
2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15
2008-02-05T18:30:30 = อ. 5 1995-12-22T09:05:02 = ศ. 22 -0010-09-15T04:44:23 = ส. 15
2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44
2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23
2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44
2008-02-05T18:30:30 = 6:30 หลังเที่ยง 1995-12-22T09:05:02 = 9:05 ก่อนเที่ยง -0010-09-15T04:44:23 = 4:44 ก่อนเที่ยง
2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23
2008-02-05T18:30:30 = 6:30:30 หลังเที่ยง 1995-12-22T09:05:02 = 9:05:02 ก่อนเที่ยง -0010-09-15T04:44:23 = 4:44:23 ก่อนเที่ยง
2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9
2008-02-05T18:30:30 = 5/2 1995-12-22T09:05:02 = 22/12 -0010-09-15T04:44:23 = 15/9
2008-02-05T18:30:30 = อ., 5/2 1995-12-22T09:05:02 = ศ., 22/12 -0010-09-15T04:44:23 = ส., 15/9
2008-02-05T18:30:30 = ก.พ. 1995-12-22T09:05:02 = ธ.ค. -0010-09-15T04:44:23 = ก.ย.
2008-02-05T18:30:30 = 5 ก.พ. 1995-12-22T09:05:02 = 22 ธ.ค. -0010-09-15T04:44:23 = 15 ก.ย.
2008-02-05T18:30:30 = อ. 5 ก.พ. 1995-12-22T09:05:02 = ศ. 22 ธ.ค. -0010-09-15T04:44:23 = ส. 15 ก.ย.
2008-02-05T18:30:30 = 5 กุมภาพันธ์ 1995-12-22T09:05:02 = 22 ธันวาคม -0010-09-15T04:44:23 = 15 กันยายน
2008-02-05T18:30:30 = อ. 5 กุมภาพันธ์ 1995-12-22T09:05:02 = ศ. 22 ธันวาคม -0010-09-15T04:44:23 = ส. 15 กันยายน
2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23
2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23
2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10
2008-02-05T18:30:30 = 2/2008 1995-12-22T09:05:02 = 12/1995 -0010-09-15T04:44:23 = 9/-010
2008-02-05T18:30:30 = อ. 5/2/2008 1995-12-22T09:05:02 = ศ. 22/12/1995 -0010-09-15T04:44:23 = ส. 15/9/-010
2008-02-05T18:30:30 = ก.พ. 2008 1995-12-22T09:05:02 = ธ.ค. 1995 -0010-09-15T04:44:23 = ก.ย. -10
2008-02-05T18:30:30 = อ. 5 ก.พ. 2008 1995-12-22T09:05:02 = ศ. 22 ธ.ค. 1995 -0010-09-15T04:44:23 = ส. 15 ก.ย. -10
2008-02-05T18:30:30 = กุมภาพันธ์ 2008 1995-12-22T09:05:02 = ธันวาคม 1995 -0010-09-15T04:44:23 = กันยายน -10
2008-02-05T18:30:30 = 1 2008 1995-12-22T09:05:02 = 4 1995 -0010-09-15T04:44:23 = 3 -010
2008-02-05T18:30:30 = Q1 2008 1995-12-22T09:05:02 = Q4 1995 -0010-09-15T04:44:23 = Q3 -10
2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10
2008-02-05T18:30:30 = 2/2008 1995-12-22T09:05:02 = 12/1995 -0010-09-15T04:44:23 = 9/-010
2008-02-05T18:30:30 = กุมภาพันธ์ 2008 1995-12-22T09:05:02 = ธันวาคม 1995 -0010-09-15T04:44:23 = กันยายน -10
Yes
วันอาทิตย์
See DateTime::Locale.
Dave Rolsky <autarch@urth.org>
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license.
| DateTime-Locale documentation | Contained in the DateTime-Locale distribution. |
########################################################################### # # This file is auto-generated by the Perl DateTime Suite locale # generator (0.05). This code generator comes with the # DateTime::Locale distribution in the tools/ directory, and is called # generate-from-cldr. # # This file as generated from the CLDR XML locale data. See the # LICENSE.cldr file included in this distribution for license details. # # This file was generated from the source file th_TH.xml # The source file version number was 1.49, generated on # 2009/05/05 23:06:41. # # Do not edit this file directly. # ########################################################################### package DateTime::Locale::th_TH; use strict; use warnings; use utf8; use base 'DateTime::Locale::th'; sub cldr_version { return "1\.7\.1" } { my $first_day_of_week = "7"; sub first_day_of_week { return $first_day_of_week } } { my $glibc_date_format = "\%d\/\%m\/\%Ey"; sub glibc_date_format { return $glibc_date_format } } { my $glibc_date_1_format = "\%a\ \%e\ \%b\ \%Ey\ \%H\:\%M\:\%S\ \%Z"; sub glibc_date_1_format { return $glibc_date_1_format } } { my $glibc_datetime_format = "\%a\ \%e\ \%b\ \%Ey\,\ \%H\:\%M\:\%S"; sub glibc_datetime_format { return $glibc_datetime_format } } { my $glibc_time_format = "\%H\:\%M\:\%S"; sub glibc_time_format { return $glibc_time_format } } { my $glibc_time_12_format = "\%I\:\%M\:\%S\ \%p"; sub glibc_time_12_format { return $glibc_time_12_format } } 1; __END__