Reload

DateTime Suite Samples

.NET Framework Cultures with Date and Time String Formats

The following Table lists all the .NET supported Cultures

Remarks

The Abbreviation and several DateTime string formats are displayed for each Culture.

An IComparer is used to sort the Cultures alphabetically by EnglishName. See Source Code provided below.

You can change the Culture at the Page, Application and Thread level. The following details three techniques with code samples provided.

Option 1: Page level

The Culture used by the individual Page can be set via the Culture property.

<%@ Page Culture="en-GB" Language="C#" %>

Option 2: Application wide (web.Config)

The Culture can be set Application wide by adding the <globalization> node to the web.Config file. The <globalization> node must be placed inside <system.web>.

<system.web>
  <globalization culture="en-GB"/>

Option 3: Thread level

The Culture of the current Thread can be changed programatically be setting the System.Threading.Thread.CurrentThread.CurrentCulture property.

The following example demonstrates how to get the user-agent(browsers) preferred UserLanguage property on each Request and set the Threads CurrentCulture during the Application_BeginRequest Event.

protected void Application_BeginRequest(Object sender, EventArgs e)
{
    CultureInfo requestCulture;
    try
    {
        // Request top UserLanguage from user agent and create CultureInfo object.
        requestCulture = CultureInfo.CreateSpecificCulture(Request.UserLanguages[0]);
    }
    catch
    {
        // Return server Culture if none available in HttpHeaders.
        requestCulture = CultureInfo.CurrentCulture;
    }
    System.Threading.Thread.CurrentThread.CurrentCulture = requestCulture;
}

 

Example

 English NameAbbreviationShortDate FormatShortDate ExampleLongDate FormatLongDate ExampleShortTime FormatShortTime ExampleLongTime FormatLongTime Example
1.Afrikaans (South Africa)af-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 September 2010hh:mm tt08:37 nmhh:mm:ss tt08:37:17 nm
2.Albanian (Albania)sq-ALyyyy-MM-dd2010-09-08yyyy-MM-dd2010-09-08h:mm.tt8:37.MDh:mm:ss.tt8:37:17.MD
3.Alsatian (France)gsw-FRdd/MM/yyyy08/09/2010dddd d MMMM yyyyMittwuch 8 September 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
4.Amharic (Ethiopia)am-ETd/M/yyyy8/9/2010dddd '፣' MMMM d 'ቀን' yyyyረቡዕ ፣ ሴፕቴምበር 8 ቀን 2010h:mm:ss tt8:37:17 ከሰዓትh:mm:ss tt8:37:17 ከሰዓት
5.Arabic (Algeria)ar-DZdd-MM-yyyy08-09-2010dd MMMM, yyyy08 سبتمبر, 2010H:mm20:37H:mm:ss20:37:17
6.Arabic (Bahrain)ar-BHdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
7.Arabic (Egypt)ar-EGdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
8.Arabic (Iraq)ar-IQdd/MM/yyyy08/09/2010dd MMMM, yyyy08 أيلول, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
9.Arabic (Jordan)ar-JOdd/MM/yyyy08/09/2010dd MMMM, yyyy08 أيلول, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
10.Arabic (Kuwait)ar-KWdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
11.Arabic (Lebanon)ar-LBdd/MM/yyyy08/09/2010dd MMMM, yyyy08 أيلول, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
12.Arabic (Libya)ar-LYdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
13.Arabic (Morocco)ar-MAdd-MM-yyyy08-09-2010dd MMMM, yyyy08 شتنبر, 2010H:mm20:37H:mm:ss20:37:17
14.Arabic (Oman)ar-OMdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
15.Arabic (Qatar)ar-QAdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
16.Arabic (Saudi Arabia)ar-SAdd/MM/yy29/09/31dd/MMMM/yyyy29/رمضان/1431hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
17.Arabic (Syria)ar-SYdd/MM/yyyy08/09/2010dd MMMM, yyyy08 أيلول, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
18.Arabic (Tunisia)ar-TNdd-MM-yyyy08-09-2010dd MMMM, yyyy08 سبتمبر, 2010H:mm20:37H:mm:ss20:37:17
19.Arabic (U.A.E.)ar-AEdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
20.Arabic (Yemen)ar-YEdd/MM/yyyy08/09/2010dd MMMM, yyyy08 سبتمبر, 2010hh:mm tt08:37 مhh:mm:ss tt08:37:17 م
21.Armenian (Armenia)hy-AMdd.MM.yyyy08.09.2010d MMMM, yyyy8 Սեպտեմբեր, 2010H:mm20:37H:mm:ss20:37:17
22.Assamese (India)as-INdd-MM-yyyy08-09-2010yyyy,MMMM dd, dddd2010,চেপ্টেম্বর 08, বৃহস্পতিবাৰtt h:mm:ssআবেলি 8:37:17tt h:mm:ssআবেলি 8:37:17
23.Azeri (Cyrillic, Azerbaijan)az-Cyrl-AZdd.MM.yyyy08.09.2010d MMMM yyyy8 сентјабр 2010H:mm20:37H:mm:ss20:37:17
24.Azeri (Latin, Azerbaijan)az-Latn-AZdd.MM.yyyy08.09.2010d MMMM yyyy8 sentyabr 2010H:mm20:37H:mm:ss20:37:17
25.Bashkir (Russia)ba-RUdd.MM.yy08.09.10d MMMM yyyy 'й'8 сентябрь 2010 йH:mm:ss20:37:17H:mm:ss20:37:17
26.Basque (Basque)eu-ESyyyy/MM/dd2010/09/08dddd, yyyy.'eko' MMMM'k 'dasteazkena, 2010.eko irailak 8HH:mm20:37HH:mm:ss20:37:17
27.Belarusian (Belarus)be-BYdd.MM.yyyy08.09.2010d MMMM yyyy8 верасня 2010H:mm20:37H:mm:ss20:37:17
28.Bengali (Bangladesh)bn-BDdd-MM-yy08-09-10dd MMMM yyyy08 সেপ্টেম্বর 2010HH.mm.ss20.37.17HH.mm.ss20.37.17
29.Bengali (India)bn-INdd-MM-yy08-09-10dd MMMM yyyy08 সেপ্টেম্বর 2010HH.mm.ss20.37.17HH.mm.ss20.37.17
30.Bosnian (Cyrillic) (Bosnia and Herzegovina)bs-Cyrl-BAd.M.yyyy8.9.2010d. MMMM yyyy8. септембар 2010H:mm:ss20:37:17H:mm:ss20:37:17
31.Bosnian (Latin) (Bosnia and Herzegovina)bs-Latn-BAd.M.yyyy8.9.2010d. MMMM yyyy8. septembar 2010H:mm:ss20:37:17H:mm:ss20:37:17
32.Breton (France)br-FRdd/MM/yyyy08/09/2010dddd d MMMM yyyymerc'her 8 Gwengolo 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
33.Bulgarian (Bulgaria)bg-BGdd.M.yyyy 'г.'08.9.2010 г.dd MMMM yyyy 'г.'08 Септември 2010 г.HH:mm20:37HH:mm:ss20:37:17
34.Catalan (Catalan)ca-ESdd/MM/yyyy08/09/2010dddd, d' / 'MMMM' / 'yyyydimecres, 8 / setembre / 2010HH:mm20:37HH:mm:ss20:37:17
35.Chinese (Hong Kong S.A.R.)zh-HKd/M/yyyy8/9/2010dddd, d MMMM, yyyyWednesday, 8 September, 2010H:mm20:37H:mm:ss20:37:17
36.Chinese (Macao S.A.R.)zh-MOd/M/yyyy8/9/2010dddd, d MMMM, yyyy星期三, 8 九月, 2010H:mm20:37H:mm:ss20:37:17
37.Chinese (People's Republic of China)zh-CNyyyy/M/d2010/9/8yyyy'年'M'月'd'日'2010年9月8日H:mm20:37H:mm:ss20:37:17
38.Chinese (Singapore)zh-SGd/M/yyyy8/9/2010dddd, d MMMM, yyyy星期三, 8 九月, 2010tt h:mmPM 8:37tt h:mm:ssPM 8:37:17
39.Chinese (Taiwan)zh-TWyyyy/M/d2010/9/8yyyy'年'M'月'd'日'2010年9月8日tt hh:mm下午 08:37tt hh:mm:ss下午 08:37:17
40.Corsican (France)co-FRdd/MM/yyyy08/09/2010dddd d MMMM yyyymercuri 8 settembre 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
41.Croatian (Croatia)hr-HRd.M.yyyy8.9.2010d. MMMM yyyy8. rujan 2010H:mm20:37H:mm:ss20:37:17
42.Croatian (Latin) (Bosnia and Herzegovina)hr-BAd.M.yyyy8.9.2010d. MMMM yyyy8. rujna 2010H:mm:ss20:37:17H:mm:ss20:37:17
43.Czech (Czech Republic)cs-CZd.M.yyyy8.9.2010d. MMMM yyyy8. září 2010H:mm20:37H:mm:ss20:37:17
44.Danish (Denmark)da-DKdd-MM-yyyy08-09-2010d. MMMM yyyy8. september 2010HH:mm20:37HH:mm:ss20:37:17
45.Dari (Afghanistan)prs-AFdd/MM/yy30/09/31dd/MMMM/yyyy30/رمضان/1431h:mm tt8:37 غ.وh:mm tt8:37 غ.و
46.Divehi (Maldives)dv-MVdd/MM/yy30/09/31dd/MMMM/yyyy30/رمضان/1431HH:mm20:37HH:mm:ss20:37:17
47.Dutch (Belgium)nl-BEd/MM/yyyy8/09/2010dddd d MMMM yyyywoensdag 8 september 2010H:mm20:37H:mm:ss20:37:17
48.Dutch (Netherlands)nl-NLd-M-yyyy8-9-2010dddd d MMMM yyyywoensdag 8 september 2010H:mm20:37H:mm:ss20:37:17
49.English (Australia)en-AUd/MM/yyyy8/09/2010dddd, d MMMM yyyyWednesday, 8 September 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
50.English (Belize)en-BZdd/MM/yyyy08/09/2010dddd, dd MMMM yyyyWednesday, 08 September 2010hh:mm tt08:37 PMhh:mm:ss tt08:37:17 PM
51.English (Canada)en-CAdd/MM/yyyy08/09/2010MMMM d, yyyySeptember 8, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
52.English (Caribbean)en-029MM/dd/yyyy09/08/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
53.English (India)en-INdd-MM-yyyy08-09-2010dd MMMM yyyy08 September 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
54.English (Ireland)en-IEdd/MM/yyyy08/09/2010dd MMMM yyyy08 September 2010HH:mm20:37HH:mm:ss20:37:17
55.English (Jamaica)en-JMdd/MM/yyyy08/09/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010hh:mm tt08:37 PMhh:mm:ss tt08:37:17 PM
56.English (Malaysia)en-MYd/M/yyyy8/9/2010dddd, d MMMM, yyyyWednesday, 8 September, 2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
57.English (New Zealand)en-NZd/MM/yyyy8/09/2010dddd, d MMMM yyyyWednesday, 8 September 2010h:mm tt8:37 p.m.h:mm:ss tt8:37:17 p.m.
58.English (Republic of the Philippines)en-PHM/d/yyyy9/8/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
59.English (Singapore)en-SGd/M/yyyy8/9/2010dddd, d MMMM, yyyyWednesday, 8 September, 2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
60.English (South Africa)en-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 September 2010hh:mm tt08:37 PMhh:mm:ss tt08:37:17 PM
61.English (Trinidad and Tobago)en-TTdd/MM/yyyy08/09/2010dddd, dd MMMM yyyyWednesday, 08 September 2010hh:mm tt08:37 PMhh:mm:ss tt08:37:17 PM
62.English (United Kingdom)en-GBdd/MM/yyyy08/09/2010dd MMMM yyyy08 September 2010HH:mm20:37HH:mm:ss20:37:17
63.English (United States)en-USM/d/yyyy9/8/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
64.English (Zimbabwe)en-ZWM/d/yyyy9/8/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
65.Estonian (Estonia)et-EEd.MM.yyyy8.09.2010d. MMMM yyyy'. a.'8. september 2010. a.H:mm20:37H:mm:ss20:37:17
66.Faroese (Faroe Islands)fo-FOdd-MM-yyyy08-09-2010d. MMMM yyyy8. september 2010HH.mm20.37HH.mm.ss20.37.17
67.Filipino (Philippines)fil-PHM/d/yyyy9/8/2010dddd, MMMM dd, yyyyMierkoles, Septyembre 08, 2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
68.Finnish (Finland)fi-FId.M.yyyy8.9.2010d. MMMM'ta 'yyyy8. syyskuuta 2010H:mm20:37H:mm:ss20:37:17
69.French (Belgium)fr-BEd/MM/yyyy8/09/2010dddd d MMMM yyyymercredi 8 septembre 2010H:mm20:37H:mm:ss20:37:17
70.French (Canada)fr-CAyyyy-MM-dd2010-09-08d MMMM yyyy8 septembre 2010HH:mm20:37HH:mm:ss20:37:17
71.French (France)fr-FRdd/MM/yyyy08/09/2010dddd d MMMM yyyymercredi 8 septembre 2010HH:mm20:37HH:mm:ss20:37:17
72.French (Luxembourg)fr-LUdd/MM/yyyy08/09/2010dddd d MMMM yyyymercredi 8 septembre 2010HH:mm20:37HH:mm:ss20:37:17
73.French (Principality of Monaco)fr-MCdd/MM/yyyy08/09/2010dddd d MMMM yyyymercredi 8 septembre 2010HH:mm20:37HH:mm:ss20:37:17
74.French (Switzerland)fr-CHdd.MM.yyyy08.09.2010dddd, d. MMMM yyyymercredi, 8. septembre 2010HH:mm20:37HH:mm:ss20:37:17
75.Frisian (Netherlands)fy-NLd-M-yyyy8-9-2010dddd d MMMM yyyyWoansdei 8 septimber 2010H:mm:ss20:37:17H:mm:ss20:37:17
76.Galician (Galician)gl-ESdd/MM/yy08/09/10dddd, dd' de 'MMMM' de 'yyyymércores, 08 de setembro de 2010H:mm20:37H:mm:ss20:37:17
77.Georgian (Georgia)ka-GEdd.MM.yyyy08.09.2010yyyy 'წლის' dd MM, dddd2010 წლის 08 09, ოთხშაბათიH:mm20:37H:mm:ss20:37:17
78.German (Austria)de-ATdd.MM.yyyy08.09.2010dddd, dd. MMMM yyyyMittwoch, 08. September 2010HH:mm20:37HH:mm:ss20:37:17
79.German (Germany)de-DEdd.MM.yyyy08.09.2010dddd, d. MMMM yyyyMittwoch, 8. September 2010HH:mm20:37HH:mm:ss20:37:17
80.German (Liechtenstein)de-LIdd.MM.yyyy08.09.2010dddd, d. MMMM yyyyMittwoch, 8. September 2010HH:mm20:37HH:mm:ss20:37:17
81.German (Luxembourg)de-LUdd.MM.yyyy08.09.2010dddd, d. MMMM yyyyMittwoch, 8. September 2010HH:mm20:37HH:mm:ss20:37:17
82.German (Switzerland)de-CHdd.MM.yyyy08.09.2010dddd, d. MMMM yyyyMittwoch, 8. September 2010HH:mm20:37HH:mm:ss20:37:17
83.Greek (Greece)el-GRd/M/yyyy8/9/2010dddd, d MMMM yyyyΤετάρτη, 8 Σεπτεμβρίου 2010h:mm tt8:37 μμh:mm:ss tt8:37:17 μμ
84.Greenlandic (Greenland)kl-GLdd-MM-yyyy08-09-2010d. MMMM yyyy8. septembari 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
85.Gujarati (India)gu-INdd-MM-yy08-09-10dd MMMM yyyy08 સપ્ટેમ્બર 2010HH:mm20:37HH:mm:ss20:37:17
86.Hausa (Latin) (Nigeria)ha-Latn-NGd/M/yyyy8/9/2010dddd, MMMM dd, yyyyLaraba, Satumba 08, 2010h:mm:ss tt8:37:17 Yammah:mm:ss tt8:37:17 Yamma
87.Hebrew (Israel)he-ILdd/MM/yyyy08/09/2010dddd dd MMMM yyyyיום רביעי 08 ספטמבר 2010HH:mm20:37HH:mm:ss20:37:17
88.Hindi (India)hi-INdd-MM-yyyy08-09-2010dd MMMM yyyy08 सितम्बर 2010HH:mm20:37HH:mm:ss20:37:17
89.Hungarian (Hungary)hu-HUyyyy. MM. dd.2010. 09. 08.yyyy. MMMM d.2010. szeptember 8.H:mm20:37H:mm:ss20:37:17
90.Icelandic (Iceland)is-ISd.M.yyyy8.9.2010d. MMMM yyyy8. september 2010HH:mm20:37HH:mm:ss20:37:17
91.Igbo (Nigeria)ig-NGd/M/yyyy8/9/2010dddd, MMMM dd, yyyyOjo'ru, Onwa itolu 08, 2010h:mm:ss tt8:37:17 Efifieh:mm:ss tt8:37:17 Efifie
92.Indonesian (Indonesia)id-IDdd/MM/yyyy08/09/2010dd MMMM yyyy08 September 2010H:mm20:37H:mm:ss20:37:17
93.Inuktitut (Canada)iu-Cans-CAd/M/yyyy8/9/2010dddd,MMMM dd,yyyyᐱᖓᑦᓯᖅ,ᓯᑎᐱᑆ 08,2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
94.Inuktitut (Latin) (Canada)iu-Latn-CAd/MM/yyyy8/09/2010ddd, MMMM dd,yyyyPi, Sitipiri 08,2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
95.Irish (Ireland)ga-IEdd/MM/yyyy08/09/2010d MMMM yyyy8 Meán Fómhair 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
96.isiXhosa (South Africa)xh-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 eyoMsintsi 2010hh:mm:ss tt08:37:17 PMhh:mm:ss tt08:37:17 PM
97.isiZulu (South Africa)zu-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 uSepthemba 2010hh:mm:ss tt08:37:17 PMhh:mm:ss tt08:37:17 PM
98.Italian (Italy)it-ITdd/MM/yyyy08/09/2010dddd d MMMM yyyymercoledì 8 settembre 2010H.mm20.37H.mm.ss20.37.17
99.Italian (Switzerland)it-CHdd.MM.yyyy08.09.2010dddd, d. MMMM yyyymercoledì, 8. settembre 2010HH:mm20:37HH:mm:ss20:37:17
100.Japanese (Japan)ja-JPyyyy/MM/dd2010/09/08yyyy'年'M'月'd'日'2010年9月8日H:mm20:37H:mm:ss20:37:17
101.Kannada (India)kn-INdd-MM-yy08-09-10dd MMMM yyyy08 ಸೆಪ್ಟಂಬರ್ 2010HH:mm20:37HH:mm:ss20:37:17
102.Kazakh (Kazakhstan)kk-KZdd.MM.yyyy08.09.2010d MMMM yyyy 'ж.'8 қыркүйек 2010 ж.H:mm20:37H:mm:ss20:37:17
103.Khmer (Cambodia)km-KHyyyy-MM-dd2010-09-08d MMMM yyyy8 កញ្ញា 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
104.K'iche (Guatemala)qut-GTdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyykajq'ij, 08 de ub'elej ik' de 2010hh:mm:ss tt08:37:17 p.m.hh:mm:ss tt08:37:17 p.m.
105.Kinyarwanda (Rwanda)rw-RWM/d/yyyy9/8/2010dddd, MMMM dd, yyyyKu wa kane, Nzeli 08, 2010h:mm:ss tt8:37:17 saa moya z.n.h:mm:ss tt8:37:17 saa moya z.n.
106.Kiswahili (Kenya)sw-KEM/d/yyyy9/8/2010dddd, MMMM dd, yyyyWednesday, September 08, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
107.Konkani (India)kok-INdd-MM-yyyy08-09-2010dd MMMM yyyy08 सप्टेंबर 2010HH:mm20:37HH:mm:ss20:37:17
108.Korean (Korea)ko-KRyyyy-MM-dd2010-09-08yyyy'년' M'월' d'일' dddd2010년 9월 8일 수요일tt h:mm오후 8:37tt h:mm:ss오후 8:37:17
109.Kyrgyz (Kyrgyzstan)ky-KGdd.MM.yy08.09.10d'-'MMMM yyyy'-ж.'8-Сентябрь 2010-ж.H:mm20:37H:mm:ss20:37:17
110.Lao (Lao P.D.R.)lo-LAdd/MM/yyyy08/09/2010dd MMMM yyyy08 ກັນຍາ 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
111.Latvian (Latvia)lv-LVyyyy.MM.dd.2010.09.08.dddd, yyyy'. gada 'd. MMMMtrešdiena, 2010. gada 8. septembrīH:mm20:37H:mm:ss20:37:17
112.Lithuanian (Lithuania)lt-LTyyyy.MM.dd2010.09.08yyyy 'm.' MMMM d 'd.'2010 m. rugsėjo 8 d.HH:mm20:37HH:mm:ss20:37:17
113.Lower Sorbian (Germany)dsb-DEd. M. yyyy8. 9. 2010dddd, 'dnja' d. MMMM yyyysrjoda, dnja 8. septembra 2010H:mm:ss20:37:17H:mm:ss20:37:17
114.Luxembourgish (Luxembourg)lb-LUdd/MM/yyyy08/09/2010dddd d MMMM yyyyMëttwoch 8 September 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
115.Macedonian (Former Yugoslav Republic of Macedonia)mk-MKdd.MM.yyyy08.09.2010dddd, dd MMMM yyyyсреда, 08 септември 2010HH:mm20:37HH:mm:ss20:37:17
116.Malay (Brunei Darussalam)ms-BNdd/MM/yyyy08/09/2010dd MMMM yyyy08 September 2010H:mm20:37H:mm:ss20:37:17
117.Malay (Malaysia)ms-MYdd/MM/yyyy08/09/2010dd MMMM yyyy08 September 2010H:mm20:37H:mm:ss20:37:17
118.Malayalam (India)ml-INdd-MM-yy08-09-10dd MMMM yyyy08 സെപ്ററംബറ് 2010HH.mm.ss20.37.17HH.mm.ss20.37.17
119.Maltese (Malta)mt-MTdd/MM/yyyy08/09/2010dddd, d' ta\' 'MMMM yyyyL-Erbgħa, 8 ta' Settembru 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
120.Maori (New Zealand)mi-NZdd/MM/yyyy08/09/2010dddd, dd MMMM, yyyyRāapa, 08 Mahuru, 2010h:mm:ss tt8:37:17 p.m.h:mm:ss tt8:37:17 p.m.
121.Mapudungun (Chile)arn-CLdd-MM-yyyy08-09-2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010H:mm:ss20:37:17H:mm:ss20:37:17
122.Marathi (India)mr-INdd-MM-yyyy08-09-2010dd MMMM yyyy08 सप्टेंबर 2010HH:mm20:37HH:mm:ss20:37:17
123.Mohawk (Canada)moh-CAM/d/yyyy9/8/2010dddd, MMMM dd, yyyySoséhne, Seskehkó:Wa 08, 2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
124.Mongolian (Cyrillic, Mongolia)mn-MNyy.MM.dd10.09.08yyyy 'оны' MMMM d2010 оны 9 дүгээр сарын 8H:mm20:37H:mm:ss20:37:17
125.Mongolian (Traditional Mongolian) (People's Republic of China)mn-Mong-CNyyyy/M/d2010/9/8yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ' d'ᠡᠳᠦᠷ'2010ᠣᠨ 9ᠰᠠᠷ᠎ᠠ 8ᠡᠳᠦᠷtt h:mm:ssᠬᠤᠢᠢᠨᠠᠬᠢ 8:37:17tt h:mm:ssᠬᠤᠢᠢᠨᠠᠬᠢ 8:37:17
126.Nepali (Nepal)ne-NPM/d/yyyy9/8/2010dddd, MMMM dd, yyyyबुधवार, सेप्टेम्बर 08, 2010h:mm:ss tt8:37:17 बेलुकीh:mm:ss tt8:37:17 बेलुकी
127.Norwegian, Bokmål (Norway)nb-NOdd.MM.yyyy08.09.2010d. MMMM yyyy8. september 2010HH:mm20:37HH:mm:ss20:37:17
128.Norwegian, Nynorsk (Norway)nn-NOdd.MM.yyyy08.09.2010d. MMMM yyyy8. september 2010HH:mm20:37HH:mm:ss20:37:17
129.Occitan (France)oc-FRdd/MM/yyyy08/09/2010dddd,' lo 'd MMMM' de 'yyyydimècres, lo 8 de setembre de 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
130.Oriya (India)or-INdd-MM-yy08-09-10dd MMMM yyyy08 ସେପ୍ଟେମ୍ବର 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
131.Pashto (Afghanistan)ps-AFdd/MM/yy30/09/31dd/MMMM/yyyy30/رمضان/1431h:mm tt8:37 غ.وh:mm tt8:37 غ.و
132.Persian (Iran)fa-IRMM/dd/yyyy09/08/2010dddd, MMMM dd, yyyyالاربعاء, سبتمبر 08, 2010hh:mm tt08:37 ب.ظhh:mm:ss tt08:37:17 ب.ظ
133.Polish (Poland)pl-PLyyyy-MM-dd2010-09-08d MMMM yyyy8 września 2010HH:mm20:37HH:mm:ss20:37:17
134.Portuguese (Brazil)pt-BRd/M/yyyy8/9/2010dddd, d' de 'MMMM' de 'yyyyquarta-feira, 8 de setembro de 2010H:mm20:37H:mm:ss20:37:17
135.Portuguese (Portugal)pt-PTdd-MM-yyyy08-09-2010dddd, d' de 'MMMM' de 'yyyyquarta-feira, 8 de Setembro de 2010H:mm20:37H:mm:ss20:37:17
136.Punjabi (India)pa-INdd-MM-yy08-09-10dd MMMM yyyy dddd08 ਸਤੰਬਰ 2010 ਬੁਧਵਾਰtt hh:mmਸ਼ਾਮ 08:37tt hh:mm:ssਸ਼ਾਮ 08:37:17
137.Quechua (Bolivia)quz-BOdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyyquyllurchaw, 08 de Uma raymi de 2010hh:mm:ss tt08:37:17 p.m.hh:mm:ss tt08:37:17 p.m.
138.Quechua (Ecuador)quz-ECdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyyquyllurchaw, 08 de Uma raymi de 2010H:mm:ss20:37:17H:mm:ss20:37:17
139.Quechua (Peru)quz-PEdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyyquyllurchaw, 08 de Uma raymi de 2010hh:mm:ss tt08:37:17 p.m.hh:mm:ss tt08:37:17 p.m.
140.Romanian (Romania)ro-ROdd.MM.yyyy08.09.2010d MMMM yyyy8 septembrie 2010HH:mm20:37HH:mm:ss20:37:17
141.Romansh (Switzerland)rm-CHdd/MM/yyyy08/09/2010dddd, d MMMM yyyymesemna, 8 settember 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
142.Russian (Russia)ru-RUdd.MM.yyyy08.09.2010d MMMM yyyy 'г.'8 сентября 2010 г.H:mm20:37H:mm:ss20:37:17
143.Sami (Inari) (Finland)smn-FId.M.yyyy8.9.2010MMMM d'. p. 'yyyyčohčâmáánu 8. p. 2010H:mm:ss20:37:17H:mm:ss20:37:17
144.Sami (Lule) (Norway)smj-NOdd.MM.yyyy08.09.2010MMMM d'. b. 'yyyyragátmáno 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
145.Sami (Lule) (Sweden)smj-SEyyyy-MM-dd2010-09-08MMMM d'. b. 'yyyyragátmáno 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
146.Sami (Northern) (Finland)se-FId.M.yyyy8.9.2010MMMM d'. b. 'yyyyčakčamánu 8. b. 2010H:mm:ss20:37:17H:mm:ss20:37:17
147.Sami (Northern) (Norway)se-NOdd.MM.yyyy08.09.2010MMMM d'. b. 'yyyyčakčamánu 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
148.Sami (Northern) (Sweden)se-SEyyyy-MM-dd2010-09-08MMMM d'. b. 'yyyyčakčamánu 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
149.Sami (Skolt) (Finland)sms-FId.M.yyyy8.9.2010MMMM d'. p. 'yyyyčõhččmannu 8. p. 2010H:mm:ss20:37:17H:mm:ss20:37:17
150.Sami (Southern) (Norway)sma-NOdd.MM.yyyy08.09.2010MMMM d'. b. 'yyyyskïereden 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
151.Sami (Southern) (Sweden)sma-SEyyyy-MM-dd2010-09-08MMMM d'. b. 'yyyyskïereden 8. b. 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
152.Sanskrit (India)sa-INdd-MM-yyyy08-09-2010dd MMMM yyyy dddd08 सितम्बर 2010 बुधवासरःHH:mm20:37HH:mm:ss20:37:17
153.Serbian (Cyrillic) (Bosnia and Herzegovina)sr-Cyrl-BAd.M.yyyy8.9.2010d. MMMM yyyy8. септембар 2010H:mm:ss20:37:17H:mm:ss20:37:17
154.Serbian (Cyrillic, Serbia)sr-Cyrl-CSd.M.yyyy8.9.2010d. MMMM yyyy8. септембар 2010H:mm20:37H:mm:ss20:37:17
155.Serbian (Latin) (Bosnia and Herzegovina)sr-Latn-BAd.M.yyyy8.9.2010d. MMMM yyyy8. septembar 2010H:mm:ss20:37:17H:mm:ss20:37:17
156.Serbian (Latin, Serbia)sr-Latn-CSd.M.yyyy8.9.2010d. MMMM yyyy8. septembar 2010H:mm20:37H:mm:ss20:37:17
157.Sesotho sa Leboa (South Africa)nso-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 Lewedi 2010hh:mm:ss tt08:37:17 PMhh:mm:ss tt08:37:17 PM
158.Setswana (South Africa)tn-ZAyyyy/MM/dd2010/09/08dd MMMM yyyy08 Lwetse 2010hh:mm:ss tt08:37:17 PMhh:mm:ss tt08:37:17 PM
159.Sinhala (Sri Lanka)si-LKyyyy-MM-dd2010-09-08yyyy MMMM' මස 'dd' වැනිදා 'dddd2010 සැප්තැම්බර් මස 08 වැනිදා බදාදාh:mm:ss tt8:37:17 ප.ව.h:mm:ss tt8:37:17 ප.ව.
160.Slovak (Slovakia)sk-SKd. M. yyyy8. 9. 2010d. MMMM yyyy8. septembra 2010H:mm20:37H:mm:ss20:37:17
161.Slovenian (Slovenia)sl-SId.M.yyyy8.9.2010d. MMMM yyyy8. september 2010H:mm20:37H:mm:ss20:37:17
162.Spanish (Argentina)es-ARdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
163.Spanish (Bolivia)es-BOdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
164.Spanish (Chile)es-CLdd-MM-yyyy08-09-2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010H:mm20:37H:mm:ss20:37:17
165.Spanish (Colombia)es-COdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
166.Spanish (Costa Rica)es-CRdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
167.Spanish (Dominican Republic)es-DOdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
168.Spanish (Ecuador)es-ECdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010H:mm20:37H:mm:ss20:37:17
169.Spanish (El Salvador)es-SVdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
170.Spanish (Guatemala)es-GTdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
171.Spanish (Honduras)es-HNdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
172.Spanish (Mexico)es-MXdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
173.Spanish (Nicaragua)es-NIdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
174.Spanish (Panama)es-PAMM/dd/yyyy09/08/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
175.Spanish (Paraguay)es-PYdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
176.Spanish (Peru)es-PEdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
177.Spanish (Puerto Rico)es-PRdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
178.Spanish (Spain)es-ESdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010H:mm20:37H:mm:ss20:37:17
179.Spanish (United States)es-USM/d/yyyy9/8/2010dddd, MMMM dd, yyyymiércoles, septiembre 08, 2010h:mm:ss tt8:37:17 PMh:mm:ss tt8:37:17 PM
180.Spanish (Uruguay)es-UYdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
181.Spanish (Venezuela)es-VEdd/MM/yyyy08/09/2010dddd, dd' de 'MMMM' de 'yyyymiércoles, 08 de septiembre de 2010hh:mm tt08:37 p.m.hh:mm:ss tt08:37:17 p.m.
182.Swedish (Finland)sv-FId.M.yyyy8.9.2010'den 'd MMMM yyyyden 8 september 2010HH:mm20:37HH:mm:ss20:37:17
183.Swedish (Sweden)sv-SEyyyy-MM-dd2010-09-08'den 'd MMMM yyyyden 8 september 2010HH:mm20:37HH:mm:ss20:37:17
184.Syriac (Syria)syr-SYdd/MM/yyyy08/09/2010dd MMMM, yyyy08 ܐܝܠܘܠ, 2010hh:mm tt08:37 ܒ.ܛhh:mm:ss tt08:37:17 ܒ.ܛ
185.Tajik (Cyrillic) (Tajikistan)tg-Cyrl-TJdd.MM.yy08.09.10d MMMM yyyy8 сентябри 2010H:mm:ss20:37:17H:mm:ss20:37:17
186.Tamazight (Latin) (Algeria)tzm-Latn-DZdd-MM-yyyy08-09-2010dd MMMM, yyyy08 Cutenber, 2010H:mm:ss20:37:17H:mm:ss20:37:17
187.Tamil (India)ta-INdd-MM-yyyy08-09-2010dd MMMM yyyy08 செப்டம்பர் 2010HH:mm20:37HH:mm:ss20:37:17
188.Tatar (Russia)tt-RUdd.MM.yyyy08.09.2010d MMMM yyyy8 сентябрь 2010H:mm20:37H:mm:ss20:37:17
189.Telugu (India)te-INdd-MM-yy08-09-10dd MMMM yyyy08 సెప్టెంబర్ 2010HH:mm20:37HH:mm:ss20:37:17
190.Thai (Thailand)th-THd/M/yyyy8/9/2553d MMMM yyyy8 กันยายน 2553H:mm20:37H:mm:ss20:37:17
191.Tibetan (People's Republic of China)bo-CNyyyy/M/d2010/9/8yyyy'‎ལོའི་ཟླ' M'ཚེས' d2010‎ལོའི་ཟླ 9ཚེས 8HH:mm:ss20:37:17HH:mm:ss20:37:17
192.Turkish (Turkey)tr-TRdd.MM.yyyy08.09.2010dd MMMM yyyy dddd08 Eylül 2010 ÇarşambaHH:mm20:37HH:mm:ss20:37:17
193.Turkmen (Turkmenistan)tk-TMdd.MM.yy08.09.10yyyy 'ý.' MMMM d2010 ý. Ruhnama 8H:mm:ss20:37:17H:mm:ss20:37:17
194.Uighur (People's Republic of China)ug-CNyyyy/M/d2010/9/8yyyy-'يىلى' M-'ئاينىڭ' d-'كۈنى'2010-يىلى 9-ئاينىڭ 8-كۈنىH:mm:ss20:37:17H:mm:ss20:37:17
195.Ukrainian (Ukraine)uk-UAdd.MM.yyyy08.09.2010d MMMM yyyy' р.'8 вересня 2010 р.H:mm20:37H:mm:ss20:37:17
196.Upper Sorbian (Germany)hsb-DEd. M. yyyy8. 9. 2010dddd, 'dnja' d. MMMM yyyysrjeda, dnja 8. septembra 2010H:mm:ss20:37:17H:mm:ss20:37:17
197.Urdu (Islamic Republic of Pakistan)ur-PKdd/MM/yyyy08/09/2010dd MMMM, yyyy08 ستمبر, 2010h:mm tt8:37 PMh:mm:ss tt8:37:17 PM
198.Uzbek (Cyrillic, Uzbekistan)uz-Cyrl-UZdd.MM.yyyy08.09.2010yyyy 'йил' d-MMMM2010 йил 8-сентябрHH:mm20:37HH:mm:ss20:37:17
199.Uzbek (Latin, Uzbekistan)uz-Latn-UZdd/MM yyyy08/09 2010yyyy 'yil' d-MMMM2010 yil 8-sentyabrHH:mm20:37HH:mm:ss20:37:17
200.Vietnamese (Vietnam)vi-VNdd/MM/yyyy08/09/2010dd MMMM yyyy08 Tháng Chín 2010h:mm tt8:37 CHh:mm:ss tt8:37:17 CH
201.Welsh (United Kingdom)cy-GBdd/MM/yyyy08/09/2010dd MMMM yyyy08 Medi 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
202.Wolof (Senegal)wo-SNdd/MM/yyyy08/09/2010dddd d MMMM yyyymercredi 8 septembre 2010HH:mm:ss20:37:17HH:mm:ss20:37:17
203.Yakut (Russia)sah-RUMM.dd.yyyy09.08.2010MMMM d yyyy 'с.'балаҕан ыйын 8 2010 с.H:mm:ss20:37:17H:mm:ss20:37:17
204.Yi (People's Republic of China)ii-CNyyyy/M/d2010/9/8yyyy'ꈎ' M'ꆪ' d'ꑍ'2010ꈎ 9ꆪ 8ꑍH:mm:ss20:37:17H:mm:ss20:37:17
205.Yoruba (Nigeria)yo-NGd/M/yyyy8/9/2010dddd, MMMM dd, yyyyOjo'ru, Osu kesan 08, 2010h:mm:ss tt8:37:17 Aleh:mm:ss tt8:37:17 Ale

Code

<%@ Page Language="C#" %>
<%@ Import Namespace="System.Globalization" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>.NET Framework Cultures</title>
    <style type="text/css">
        tr { cursor: pointer; }
        .on { background-color: #E4EEF8; }
        .selected { background-color: #E4EEF8; }    
        .off { background-color: white; }
    </style>    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            // Get server DateTime.
            DateTime date = DateTime.Now;
 
            // Get a list of all Cultures
            CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures);
 
            // Add the Cultures to an ArrayList so we can sort them Alphabetically by name.
            ArrayList cultureList = new ArrayList(cultures.Length);
            foreach (CultureInfo culture in cultures)
            {
                cultureList.Add(culture);
            }
 
            // Sort Cultures
            cultureList.Sort(new StringComparer());
 
            // Create a table and set a few display properties.
            Table table = new Table();
            table.Width = Unit.Percentage(100);
            table.CellPadding = 0;
            table.CellSpacing = 0;
            table.CssClass = "datatable";
 
            // Create a new header row and a bunch of header cells.
            TableRow row = new TableRow();
            TableHeaderCell th1 = new TableHeaderCell();
            TableHeaderCell th2 = new TableHeaderCell();
            TableHeaderCell th3 = new TableHeaderCell();
            TableHeaderCell th4 = new TableHeaderCell();
            TableHeaderCell th5 = new TableHeaderCell();
            TableHeaderCell th6 = new TableHeaderCell();
            TableHeaderCell th7 = new TableHeaderCell();
            TableHeaderCell th8 = new TableHeaderCell();
            TableHeaderCell th9 = new TableHeaderCell();
            TableHeaderCell th10 = new TableHeaderCell();
            TableHeaderCell th11 = new TableHeaderCell();
 
            // Set the value of each header cell.
            th1.Text = "&nbsp;";
            th2.Text = "English Name";
            th3.Text = "Abbreviation";
            th4.Text = "ShortDate Format";
            th5.Text = "ShortDate Example";
            th6.Text = "LongDate Format";
            th7.Text = "LongDate Example";
            th8.Text = "ShortTime Format";
            th9.Text = "ShortTime Example";
            th10.Text = "LongTime Format";
            th11.Text = "LongTime Example";
 
            // Add each cell to the row.
            row.Cells.Add(th1);
            row.Cells.Add(th2);
            row.Cells.Add(th3);
            row.Cells.Add(th4);
            row.Cells.Add(th5);
            row.Cells.Add(th6);
            row.Cells.Add(th7);
            row.Cells.Add(th8);
            row.Cells.Add(th9);
            row.Cells.Add(th10);
            row.Cells.Add(th11);
 
            // Add header row to table.
            table.Rows.Add(row);
 
            // Loop through the cells and set them nowrap.
            foreach (TableCell cell in row.Cells)
            {
                cell.Wrap = false;
            }
 
            int count = 1;
            foreach (CultureInfo culture in cultureList)
            {
                // Set the CurrentThread to the culture.
                System.Threading.Thread.CurrentThread.CurrentCulture = culture;
 
                // Create a new row and a bunch of new cells.
                TableRow tr = new TableRow();
                tr.Attributes.Add("class", "off");
                TableCell td1 = new TableCell();
                TableCell td2 = new TableCell();
                TableCell td3 = new TableCell();
                TableCell td4 = new TableCell();
                TableCell td5 = new TableCell();
                TableCell td6 = new TableCell();
                TableCell td7 = new TableCell();
                TableCell td8 = new TableCell();
                TableCell td9 = new TableCell();
                TableCell td10 = new TableCell();
                TableCell td11 = new TableCell();
 
                // Add the values to the cells.
                td1.Text = count.ToString() + ".";
                td2.Text = culture.EnglishName;
                td3.Text = culture.Name;
                td4.Text = culture.DateTimeFormat.ShortDatePattern;
                td5.Text = date.ToShortDateString();
                td6.Text = culture.DateTimeFormat.LongDatePattern;
                td7.Text = date.ToLongDateString();
                td8.Text = culture.DateTimeFormat.ShortTimePattern;
                td9.Text = date.ToShortTimeString();
                td10.Text = culture.DateTimeFormat.LongTimePattern;
                td11.Text = date.ToLongTimeString();
 
                // Add cells to the row.
                tr.Cells.Add(td1);
                tr.Cells.Add(td2);
                tr.Cells.Add(td3);
                tr.Cells.Add(td4);
                tr.Cells.Add(td5);
                tr.Cells.Add(td6);
                tr.Cells.Add(td7);
                tr.Cells.Add(td8);
                tr.Cells.Add(td9);
                tr.Cells.Add(td10);
                tr.Cells.Add(td11);
 
                // Add mouseover, mouseout and onclick effects.
                tr.Attributes.Add("onmouseover", "toggleRow(this, true, false);");
                tr.Attributes.Add("onmouseout", "toggleRow(this, false, false);");
                tr.Attributes.Add("onclick", "toggleRow(this, true, true);");
 
                // Add row to table.
                table.Rows.Add(tr);
 
                // Loop through the cells and set them nowrap.
                foreach (TableCell cell in tr.Cells)
                {
                    cell.Wrap = false;
                }
                count++;
            }
 
            // Add table to PlaceHolder.
            this.PlaceHolder1.Controls.Add(table);
        }
 
        class StringComparer : IComparer
        {
            public int Compare(object o1, object o2)
            {
                // Simple compare between the EnglishName property.
                // This will organize alphabetically.
                return string.Compare(((CultureInfo)o1).EnglishName, ((CultureInfo)o2).EnglishName);
            }
        }
    </script>
    <script type="text/javascript">
        function toggleRow(e, highlight, clicked)
        {
            var c = e.className;
            if(highlight && clicked)
            {
                e.className = (c == "off" || c == "on") ? "selected" : "off";
                return; 
            }
            else if (c == "selected") { return; }
            else if (highlight && c == "off") { e.className = "on"; }
            else { e.className = "off";    }
            return;
        };
    </script>
</head>
<body>
<form id="form1" method="post" runat="server">
    <h4>Example</h4>
    <asp:placeholder id="PlaceHolder1" runat="server"></asp:placeholder>
</form>
</body>
</html>