Hi You ahve to define which date format is required for Ex : DDMMMYYYY or
YYYY MM DD and so on then try use the code below
DateTime.ParseExact(myString,yyyy-MM-dd, System.Globalization.CultureInfo.InvariantCulture);
replace YYY-MM-DD with the date format required