Create Culture info in es-US
using System;
using System.Globalization;
class Class1 {
static void Main(string[] args) {
CultureInfo MyCulture = new CultureInfo("es-ES");
DateTimeFormatInfo Myfmt;
DateTimeFormatInfo fmt1;
Myfmt = MyCulture.DateTimeFormat;
fmt1 = DateTimeFormatInfo.CurrentInfo;
Console.WriteLine(Myfmt.GetMonthName(12));
Console.WriteLine(fmt1.GetMonthName(12));
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
|