using System; using System.Globalization; using System.Threading; class Program { static void Main(string[] args) { foreach (CultureInfo culture in CultureInfo.GetCultures(CultureTypes.AllCultures)) { string cn = culture.Name; try { Thread.CurrentThread.CurrentCulture = new CultureInfo(cn); Console.WriteLine(cn + ": " + DateTime.Now); } catch { Console.WriteLine(cn + " not supported"); } } } }
Standard input is empty
: 02/19/2013 17:10:35 ar not supported bg not supported ca not supported zh-CHS not supported cs not supported da not supported de not supported el not supported en not supported es not supported fi not supported fr not supported he not supported hu not supported is not supported it not supported ja not supported ko not supported nl not supported no not supported pl not supported pt not supported ro not supported ru not supported hr not supported sk not supported sq not supported sv not supported th not supported tr not supported id not supported uk not supported be not supported sl not supported et not supported lv not supported lt not supported fa not supported vi not supported hy not supported eu not supported mk not supported af not supported ka not supported fo not supported hi not supported sw not supported gu not supported ta not supported te not supported kn not supported mr not supported gl not supported kok not supported ar-SA: 19/2/2013 5:10:35 م bg-BG: 19.2.2013 г. 17:10:35 ca-ES: 19/02/2013 17:10:35 zh-TW: 2013/2/19 下05時10分35秒 cs-CZ: 19.2.2013 17:10:35 da-DK: 19-02-2013 17:10:35 de-DE: 19.02.2013 17:10:35 el-GR: 19/2/2013 5:10:35 ΜΜ en-US: 2/19/2013 5:10:35 PM fi-FI: 19.2.2013 17:10:35 fr-FR: 19/02/2013 17:10:35 he-IL: 19/02/2013 17:10:35 hu-HU: 2013. 02. 19. 17:10:35 is-IS: 19.2.2013 17:10:35 it-IT: 19/02/2013 17.10.35 ja-JP: 2013/02/19 17:10:35 ko-KR: 2013/02/19 오후 5시 10분 35초 nl-NL: 19-2-2013 17:10:35 nb-NO: 19.02.13 17.10.35 +0 pl-PL: 2013-02-19 17:10:35 pt-BR: 19/2/2013 17:10:35 ro-RO: 19.02.2013 17:10:35 ru-RU: 19.02.2013 17:10:35 hr-HR: 19.2.2013 17:10:35 sk-SK: 19. 2. 2013 17:10:35 sq-AL: 2013-02-19 5:10:35.MD sv-SE: 2013-02-19 17:10:35 th-TH: 19/2/2013 17:10:35 tr-TR: 19.02.2013 17:10:35 id-ID: 19/02/2013 17:10:35 uk-UA: 19.02.2013 17:10:35 be-BY: 19.02.2013 17:10:35 sl-SI: 19.2.2013 17:10:35 et-EE: 19.02.2013 17:10:35 lv-LV: 2013.02.19. 17:10:35 lt-LT: 2013.02.19 17:10:35 fa-IR: 2/19/2013 05:10:35 ب.ظ. vi-VN: 19/02/2013 5:10:35 CH hy-AM: 19.02.2013 17:10:35 eu-ES: 2013/02/19 17:10:35 mk-MK: 19.02.2013 17:10:35 af-ZA: 2013/02/19 05:10:35 ka-GE: 19.02.2013 17:10:35 fo-FO: 19-02-2013 17.10.35 hi-IN: 19-02-2013 17:10:35 sw-KE: 2/19/2013 5.10.35 PM gu-IN: 19-02-13 05:10:35 ઉ +0 ta-IN: 19-2-13 5:10:35 ம +0 te-IN: 19-02-13 5:10:35 అ +0 kn-IN: 19-2-13 05:10:35 ಅ +0 mr-IN: 19-2-13 5:10:35 म +0 gl-ES: 19/02/13 17:10:35 +0 kok-IN: 19-2-13 5:10:35 म +0 ar-IQ: 19/2/2013 5:10:35 م zh-CN: 13-2-19 下05时10分35秒 de-CH: 19.02.2013 17:10:35 en-GB: 19/02/2013 17:10:35 es-MX: 19/02/2013 05:10:35 p.m. fr-BE: 19/02/2013 17:10:35 it-CH: 19.02.2013 17:10:35 nl-BE: 19/02/2013 17:10:35 nn-NO: 19.02.13 17.10.35 +0 pt-PT: 19-02-2013 17:10:35 sv-FI: 19.2.2013 17:10:35 ar-EG: 19/02/2013 05:10:35 م zh-HK: 13年2月19日 下05時10分35秒 de-AT: 19.02.2013 17:10:35 en-AU: 19/02/2013 5:10:35 PM es-ES: 19/02/2013 17:10:35 fr-CA: 2013-02-19 17:10:35 ar-LY: 19/02/2013 05:10:35 م zh-SG: 19/02/13 下 05:10:35 de-LU: 19.02.2013 17:10:35 en-CA: 19/02/2013 5:10:35 PM es-GT: 19/02/2013 05:10:35 p.m. fr-CH: 19.02.2013 17:10:35 ar-DZ: 19-02-2013 17:10:35 zh-MO: 13年2月19日 下05時10分35秒 en-NZ: 19/02/2013 5:10:35 p.m. es-CR: 19/02/2013 05:10:35 p.m. fr-LU: 19/02/2013 17:10:35 ar-MA: 19-02-2013 17:10:35 en-IE: 19/02/2013 17:10:35 es-PA: 02/19/2013 05:10:35 p.m. ar-TN: 19-02-2013 17:10:35 en-ZA: 2013/02/19 05:10:35 PM es-DO: 19/02/2013 05:10:35 p.m. ar-OM: 19/02/2013 05:10:35 م es-VE: 19/02/2013 05:10:35 p.m. ar-YE: 19/02/2013 05:10:35 م es-CO: 19/02/2013 05:10:35 p.m. ar-SY: 19/02/2013 05:10:35 م es-PE: 19/02/2013 05:10:35 p.m. ar-JO: 19/02/2013 05:10:35 م en-TT: 19/02/2013 05:10:35 PM es-AR: 19/02/2013 05:10:35 p.m. ar-LB: 19/02/2013 05:10:35 م en-ZW: 2/19/2013 5:10:35 PM es-EC: 19/02/2013 17:10:35 ar-KW: 19/02/2013 05:10:35 م en-PH: 2/19/2013 5:10:35 PM es-CL: 19-02-2013 17:10:35 ar-AE: 19/02/2013 05:10:35 م es-UY: 19/02/2013 05:10:35 p.m. ar-BH: 19/02/2013 05:10:35 م es-PY: 19/02/2013 05:10:35 p.m. ar-QA: 19/02/2013 05:10:35 م es-BO: 19/02/2013 05:10:35 p.m. es-SV: 19/02/2013 05:10:35 p.m. es-HN: 19/02/2013 05:10:35 p.m. es-NI: 19/02/2013 05:10:35 p.m. es-PR: 19/02/2013 05:10:35 p.m. zh-CHT not supported