I get a date from excel and store it into a string. Once in a string, I convert it into a DateTime object. But I want to set up an if condition to check if the value is a date then convert it. Not sure how to check if the value is a date.
Can anyone help?