Question

I'm losing my mind trying to find a table showing all the formats of datetimes for cultures

I've been googling like crazy and all i want is that table! ARG

i.e.

en-CA = DD/MM/YYYY 0.00 en-FR = MM/DD/YYYY 0,00

I'm looking for a link to MSDN or wikipedia - I know I've seen this in the past before

Was it helpful?

Solution

foreach (var c in System.Globalization.CultureInfo.
                         GetCultures(CultureTypes.AllCultures))
{
  Console.WriteLine("{0} = {1}", c.Name, 
                                 c.DateTimeFormat.FullDateTimePattern);
}

OTHER TIPS

If you want a webpage rather than making the information yourself, you can always use the National Language Support API Reference:

Bashkir (Russia)
046D Codepage info
LCID    046D
Locale name Bashkir (Russia)
Language-English name   Bashkir
Language-native name    Башҡорт (Россия)
ANSI codepage   1251
OEM codepage    866
046D NLS formatting
Number formatting
Positive number example 12 346,00
Negative number example -12 346,00
Decimal separator   ,
Digits after decimal separator  2
Digit grouping  3;0;0
Thousands separator [blank][blank]
Negative format symbol  -
Number list separator   ;
Leading and trailing zeros: 0.700 formatted 0,70
Standard digits 0123456789
System of measurements  Metric
...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top