I have a asp.net page with Date input. It accepts date in the format dd/MM/yyyy. The code works fine if I run it through Visual Studio 2010. But if I publish the code then I get “String was not recognised as valid date time format” error…
I have set the system datetime format as “dd/MM/yyyy”
Any suggestions?
This should work