Apr 02, 2020 09:43 AM|venkatzeus|LINK
I have data in a excel file, which contains string of the below format.
01/12/2019 ( 12 is the month )
I want to check if these are all valid dates ? I have tried the below code
if (DateTime.TryParseExact(dateString, format, CultureInfo.InvariantCulture,
DateTimeStyles.None, out dateTime))
How to pass the above formats ?