DateTime.TryParse issue with dates of yyyy-dd-MM format
I have the following date in string format “2011-29-01 12:00 am” . Now I am trying to convert that to datetime format with the following code:
I have the following date in string format “2011-29-01 12:00 am” . Now I am trying to convert that to datetime format with the following code:
In my ASP.net project I need to validate some basic data types for user inputs. The data types are like numeric, decimal, datetime etc.