//各国文化标识 string str = @"af;af-ZA;sq;sq-AL;ar;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;hy-AM;az;eu;eu-ES;be;be-BY;bg;bg-BG;ca;ca-ES;zh-HK;zh-MO;zh-CN;zh-SG;zh-TW;hr;hr-BA;hr-HR;cs;cs-CZ;da;da-DK;dv;dv-MV;nl;nl-BE;nl-NL;en;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;fa-IR;fi;fi-FI;fr;fr-BE;fr-CA;fr-FR;fr-LU;fr-MC;fr-CH;gl;gl-ES;ka;ka-GE;de;de-AT;de-DE;de-LI;de-LU;de-CH;el;el-GR;gu;gu-IN;he;he-IL;hi;hi-IN;hu;hu-HU;is;is-IS;id;id-ID;it;it-IT;it-CH;ja;ja-JP;kn;kn-IN;kk;kk-KZ;kok;kok-IN;ko;ko-KR;ky;ky-KG;lv;lv-LV;lt;lt-LT;mk;mk-MK;ms;ms-BN;ms-MY;mr;mr-IN;mn;mn-MN;no;nb-NO;nn-NO;pl;pl-PL;pt;pt-BR;pt-PT;pa;pa-IN;ro;ro-RO;ru;ru-RU;sa;sa-IN;sk;sk-SK;sl;sl-SI;es;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;sw-KE;sv;sv-FI;sv-SE;syr;syr-SY;ta;ta-IN;tt;tt-RU;te;te-IN;th;th-TH;tr;tr-TR;uk;uk-UA;ur;ur-PK;uz;vi;vi-VN ";
//取日期时间格式的方法 private string GetDateFormat(string ciName) { var ci = new System.Globalization.CultureInfo(ciName); return ci.DateTimeFormat.ShortDatePattern + " " + ci.DateTimeFormat.ShortTimePattern; }
提取结果:
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 'г.' H:mm
bg-BG ==== d.M.yyyy 'г.' 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
语言文化列表: https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/kx54z3k7(v=vs.95)