using System.Globalization;
public static class Module1
public static void Main()
System.Globalization.CultureInfo currentCulture;
currentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
currentCulture.DateTimeFormat.Calendar = new GregorianCalendar(GregorianCalendarTypes.USEnglish);
System.Xml.Serialization.XmlSerializer x;
x = new System.Xml.Serialization.XmlSerializer(typeof(DateTimeFormatInfo), new[] { typeof(GregorianCalendar) });
using (MemoryStream writer = new MemoryStream())
x.Serialize(writer, currentCulture.DateTimeFormat);
using (var reader = new StreamReader(writer))
xml = reader.ReadToEnd();
using (StringReader stringReader = new StringReader(xml))
x.Deserialize(stringReader);