Date and Time formats of different countries

Source: Internet
Author: User
Tags silverlight
// String STR = @ "AF; af-za; sq; SQ-Al; Ar-DZ; Ar-bh; Ar-Eg; Ar-IQ; ar-jo; Ar-kW; Ar-Lb; Ar-ly; Ar-Ma; Ar-om; Ar-Qa; Ar-sa; Ar-sy; Ar-Tn; ar-AE; Ar-ye; hy-am; AZ; EU-es; Be-by; BG-BG; CA; Ca-es; zh-HK; ZH-Mo; ZH-CN; ZH-SG; ZH-tw; HR-BA; HR-hr; CS-CZ; da; da-DK; DV-mV; NL-be; NL-nl; en-AU; en-BZ; en-CA; en-029; en-ie; en-JM; en-NZ; en-pH; en-za; en-TT; en-GB; en-US; en-ZW; et; et-ee; FO; Fo-Fo; fa-IR; FI-fi; Fr-be; Fr-CA; fr-fr; Fr-Lu; fr-MC; Fr-ch; GL; Gl-es; Ka-ge; de-at; de-de; de-li; de-Lu; de-ch; El-gr; Gu-in; he-il; Hi; hi-in; Hu-hu; Is-Is; ID; id-ID; it-it; it-ch; ja-JP; kN; kn-in; KK-KZ; KOK-in; ko; Ko-Kr; Ky-kg; LV-lv; lt-lt; MK-mk; MS; Ms-BN; Ms-My; mr; Mr-in; Mn-Mn; no; Nb-No; nn-No; PL-pl; PT; Pt-BR; Pt-Pt; PA; pa-in; RO; Ro-Ro; Ru-Ru; SA-in; SK-SK; SL-Si; es-Ar; es-bo; es-Cl; es-Co; es-Cr; es-do; es-EC; es-SV; es-GT; es-HN; es-mx; es-Ni; es-PA; es-py; es-pe; es-PR; es-es; es-Uy; es-ve; Sw-ke; Sv; SV-fi; SV-se; Syr-sy; TA; ta-in; TT-Ru; Te-in; th-th; TR; tr-TR; UK-UA; Ur-PK; Uz; VI; vi-VN ";

 

// Method for obtaining the date and time format private string getdateformat (string ciname) {var CI = new system. globalization. cultureinfo (ciname); Return CI. datetimeformat. shortdatepattern + "" + ci. datetimeformat. shorttimepattern ;}

 

Extracted results:

AF === yyyy-mm-dd hh: mm
Af-za ==== yyyy-mm-dd hh: mm
Ar ==== dd/mm/yy hh: Mm TT
Ar-AE ==== dd/mm/yyyy hh: Mm TT
Ar-bh ==== dd/mm/yyyy hh: Mm TT
Ar-DZ ==== DD-mm-yyyy H: mm
Ar-eg ==== dd/mm/yyyy hh: Mm TT
Ar-IQ ==== dd/mm/yyyy hh: Mm TT
Ar-Jo ==== dd/mm/yyyy hh: Mm TT
Ar-KW ==== dd/mm/yyyy hh: Mm TT
Ar-lb ==== dd/mm/yyyy hh: Mm TT
Ar-ly ==== dd/mm/yyyy hh: Mm TT
Ar-ma === DD-mm-yyyy H: mm
Ar-om ==== dd/mm/yyyy hh: Mm TT
Ar-Qa ==== dd/mm/yyyy hh: Mm TT
Ar-sa ==== dd/mm/yy hh: Mm TT
Ar-sy ==== dd/mm/yyyy hh: Mm TT
Ar-Tn ==== DD-mm-yyyy H: mm
Ar-ye ==== dd/mm/yyyy hh: Mm TT
AZ ==== dd. mm. yyyy hh: mm
Be === dd. mm. yy hh: mm
Be-by ==== dd. mm. yy hh: mm
BG ==== D. M. yyyy 'salary. 'H: mm
BG-BG = D. M. yyyy 'salary. 'H: mm
CA === D/M/yyyy h: mm
Ca-es ==== D/M/yyyy h: mm
CS ==== dd. mm. yyyy H: mm
CS-CZ ==== dd. mm. yyyy H: mm
Da === DD-mm-yyyy hh: mm
Da-DK ==== DD-mm-yyyy hh: mm
De ==== dd. mm. yyyy hh: mm
De-at ==== dd. mm. yyyy hh: mm
De-ch ==== dd. mm. yyyy hh: mm
De-de ==== dd. mm. yyyy hh: mm
De-Li ==== dd. mm. yyyy hh: mm
De-lu ==== dd. mm. yyyy hh: mm
DV === dd/mm/yy hh: mm
DV-MV ==== dd/mm/yy hh: mm
El ==== D/M/yyyy h: Mm TT
El-Gr = D/M/yyyy h: Mm TT
En = m/D/yyyy h: Mm TT
En-029 ==== dd/mm/yyyy hh: mm
En-Au ==== D/mm/yyyy H: Mm TT
En-BZ ==== dd/mm/yyyy hh: mm
En-Ca === yyyy-mm-dd H: Mm TT
En-GB ==== dd/mm/yyyy hh: mm
En-ie ==== dd/mm/yyyy hh: mm
En-JM = D/M/yyyy h: Mm TT
En-NZ = D/mm/yyyy H: Mm TT
En-pH = dd/mm/yyyy H: Mm TT
En-TT ==== dd/mm/yyyy H: Mm TT
En-US === M/D/yyyy h: Mm TT
En-za ==== yyyy/mm/dd hh: mm
En-ZW ==== D/M/YYYY hh: mm
Es ==== dd/mm/yyyy H: mm
Es-ar ==== D/M/YYYY hh: mm
Es-bo ==== D/M/YYYY hh: mm
Es-Cl ==== DD-mm-yyyy H: mm
Es-Co ==== D/mm/yyyy H: Mm TT
Es-Cr ==== D/M/YYYY hh: mm
Es-Do ==== D/M/yyyy h: Mm TT
Es-EC ==== D/M/yyyy h: mm
Es-es ==== dd/mm/yyyy H: mm
Es-GT ==== D/mm/yyyy hh: mm
Es-HN ==== D/M/YYYY hh: mm
Es-mx ==== dd/mm/yyyy hh: Mm TT
Es-Ni ==== D/M/YYYY hh: mm
Es-pa ==== mm/DD/yyyy h: Mm TT
Es-PE ==== D/mm/yyyy hh: mm
Es-Pr ==== mm/DD/yyyy h: Mm TT
Es-py ==== D/M/YYYY hh: mm
Es-SV ==== D/M/YYYY hh: mm
Es-Uy ==== D/M/yyyy h: mm
Es-ve ==== D/M/yyyy h: Mm TT
Et ==== dd. mm. yyyy hh: mm
Et-ee ==== dd. mm. yyyy hh: mm
Eu = yyyy/M/d hh: mm
EU-es ==== yyyy/M/d hh: mm
Fa ==== dd/mm/yyyy hh: Mm TT
Fa-IR ==== dd/mm/yyyy hh: Mm TT
FI ==== D. M. yyyy H. Mm
Fi-fi ==== D. M. yyyy H. Mm
Fo ==== dd. mm. yyyy hh: mm
Fo-Fo ==== dd. mm. yyyy hh: mm
Fr ==== dd/mm/yyyy hh: mm
Fr-be ==== DD-mm-yy hh: mm
Fr-Ca ==== yyyy-mm-dd hh: mm
Fr-ch ==== dd. mm. yyyy hh: mm
Fr-fr ==== dd/mm/yyyy hh: mm
Fr-lu ==== dd/mm/yyyy hh: mm
Fr-MC ==== dd/mm/yyyy hh: mm
GL === dd/mm/yyyy hh: mm
Gl-es ==== dd/mm/yyyy hh: mm
Gu === DD-mm-yy hh: mm
Gu-In ==== DD-mm-yy hh: mm
He ==== dd/mm/yyyy hh: mm
He-il ==== dd/mm/yyyy hh: mm
Hi === DD-mm-yyyy hh: mm
Hi-In ==== DD-mm-yyyy hh: mm
HR ==== D. M. yyyy. h: mm
HR-Ba ==== D. M. yyyy. hh: mm
HR-HR ==== D. M. yyyy. h: mm
Hu ==== YYYY. Mm. dd. h: mm
Hu-hu ==== YYYY. Mm. dd. h: mm
Hy === dd. mm. yyyy hh: mm
Hy-am === dd. mm. yyyy hh: mm
Id = dd/mm/yyyy HH. Mm
ID-id = dd/mm/yyyy HH. Mm
Is ==== D. M. yyyy hh: mm
Is-Is ==== D. M. yyyy hh: mm
It ==== dd/mm/yyyy hh: mm
It-ch ==== dd. mm. yyyy hh: mm
It-It ==== dd/mm/yyyy hh: mm
Ja === yyyy/mm/dd h: mm
Ja-JP ==== yyyy/mm/dd h: mm
Ka ==== dd. mm. yyyy hh: mm
Ka-ge ==== dd. mm. yyyy hh: mm
Kk === dd. mm. yyyy hh: mm
KK-KZ ==== dd. mm. yyyy hh: mm
KN === DD-mm-yy hh: mm
Kn-In ==== DD-mm-yy hh: mm
Ko === yyyy-mm-dd tt h: mm
KOK === DD-mm-yyyy hh: mm
KOK-In ==== DD-mm-yyyy hh: mm
Ko-Kr ==== yyyy-mm-dd tt h: mm
Ky === D-Mmm YY hh: mm
Ky-kg === D-Mmm YY hh: mm
Lt === yyyy-mm-dd hh: mm
Lt-lt = yyyy-mm-dd hh: mm
LV === dd. mm. yyyy hh: mm
Lv-LV ==== dd. mm. yyyy hh: mm
MK === dd. M. yyyy hh: mm
MK-Mk = dd. M. yyyy hh: mm
Mn ==== YYYY. Mm. dd hh: mm
Mn-Mn ==== YYYY. Mm. dd hh: mm
Mr ==== DD-mm-yyyy hh: mm
Mr-In ==== DD-mm-yyyy hh: mm
MS ==== D/mm/yyyy H: Mm TT
MS-BN ==== D/mm/yyyy H: Mm TT
MS-My = D/mm/yyyy H: Mm TT
Nb-No ==== dd. mm. yyyy hh: mm
NL === D-m-yyyy hh: mm
NL-be = D/mm/yyyy H: mm
NL-nl ==== D-m-yyyy hh: mm
Nn-No ==== dd. mm. yyyy hh: mm
No ==== dd. mm. yyyy hh: mm
Pa === DD-mm-yy TT hh: mm
Pa-In ==== DD-mm-yy TT hh: mm
PL = dd. mm. yyyy hh: mm
Pl-pl ==== dd. mm. yyyy hh: mm
PT ==== dd/mm/yyyy hh: mm
Pt-Br ==== dd/mm/yyyy hh: mm
Pt-Pt ==== dd/mm/yyyy hh: mm
RO ==== dd. mm. yyyy hh: mm
Ro-Ro ==== dd. mm. yyyy hh: mm
Ru = dd. mm. yyyy H: mm
Ru-Ru ==== dd. mm. yyyy H: mm
Sa === DD-mm-yyyy hh: mm
Sa-In ==== DD-mm-yyyy hh: mm
SK = D. M. yyyy H: mm
SK-SK ==== D. M. yyyy H: mm
SL ==== D. mm. yyyy hh: mm
SL-Si ==== D. mm. yyyy hh: mm
Sq ==== D. M. yyyy H: Mm TT
SQ-Al ==== D. M. yyyy H: Mm TT
SV === yyyy-mm-dd hh: mm
SV-fi === DD-mm-yyyy hh: mm
SV-se === yyyy-mm-dd hh: mm
SW === dd/mm/yyyy hh: mm
Sw-ke ==== dd/mm/yyyy hh: mm
SYR = dd/mm/yyyy hh: Mm TT
Syr-sy ==== dd/mm/yyyy hh: Mm TT
Ta === DD-mm-yyyy hh: mm
Ta-In ==== DD-mm-yyyy hh: mm
Te === DD-mm-yy hh: mm
Te-In === DD-mm-yy hh: mm
Th = D/M/yyyy h: mm
Th-th ==== D/M/yyyy h: mm
Tr ==== D. mm. yyyy hh: mm
Tr-Tr ==== D. mm. yyyy hh: mm
TT ==== dd. mm. yyyy hh: mm
TT-Ru ==== dd. mm. yyyy hh: mm
UK ==== dd. mm. yyyy H: mm
UK-UA ==== dd. mm. yyyy H: mm
Ur ==== dd/mm/yyyy H: Mm TT
Ur-PK ==== dd/mm/yyyy H: Mm TT
UZ ==== dd/mm/yyyy hh: mm
VI ==== dd/mm/yyyy H: Mm TT
VI-VN ==== dd/mm/yyyy H: Mm TT
Zh-CN ==== yyyy-mm-dd H: mm
Zh-HK ==== D/M/yyyy h: mm
Zh-Mo ==== D/M/yyyy h: mm
Zh-SG ==== D/M/yyyy tt h: mm
Zh-tw ==== yyyy/M/d TT hh: mm

 

Language and culture list: https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/kx54z3k7 (V = vs.95)

Date and Time formats of different countries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.