Check if an excel cell is formatted as a date

For each row in datatable inside currentrow(index of column).tostring will be you input string in the above code