Hello is there a way to convert this string "Saturday 04/23/2013 11:05 PM" to a valid DateTime Format?
Because it gives me FormatExceptionError everytime I execute this condition:
String was not recognized as a valid DateTime because the day of week was incorrect.
if(DateTime.Parse("Saturday 04/23/2013 11:05 PM") < DateTime.Today)
{
//code here
}
Is there a solution to this problem?