Weird culture settings problem

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,

I'm having a really basic problem parsing a simple UK date string. The
following line works fine in a WinForms app, but not in my ASP.net form:

DateTime dt = DateTime.Parse("23/10/2005",
System.Globalization.CultureInfo.CreateSpecificCulture("en-GB"));

The culture setting seems to be ignored even though I'm explicitly
specifying it. Does anyone know what could be overriding this???


Cheers,
Dan


.


Quantcast