I have string say \"12/1/2011\" in English US culture my current machine culture is English Uk which is \"dd/mm/yyyy\" format. How to convert the 12/1/2011 to 1/12/2011. I h
DateTimeFormatInfo usDtfi = new CultureInfo("en-US", false).DateTimeFormat; DateTimeFormatInfo ukDtfi = new CultureInfo("en-GB", false).DateTimeFormat; string result = Convert.ToDateTime("12/01/2011", usDtfi).ToString(ukDtfi.ShortDatePattern);
This will do the trick ^^