This is a common puzzler for people new to .NET (who aren't in the US!), just how do you parse a DateTime to be correct for your culture?

Answer, pretty easily...the DateTime.Parse has an overload which accepts an IFormatProvider, so this will let you parse a DateTime in a named culture:

DateTime.Parse("08/02/1973",new CultureInfo("en-GB"));



The above code being the code for GB - you can get a good list by looking at Internet Explorer -> Tools -> Internet Options -> Languages -> Add .

Using the code below will let you use the culture defined in the Globalization settings in web.config

(e.g., <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" uiCulture="en-GB"/>):

DateTime.Parse("08/02/1973", System.Globalization.CultureInfo.CurrentCulture);


Told you it was easy!