I need to iterate through all these dates and compare them to todays date and figure out which ones are >= 3. So if Todays date - row(0) > 3, then assign…
Try this:
DateTime.FromOADate(Convert.ToDouble(“Your Date come here”)).ToString.
Now you will get the date format, you can build any logic.
Get the data in DataTable using read range, then use for each row to iterate.
And if you want to check day of dates, CDate(“Date”).Day, similarly you can find in second date and then compare.
You can also use DateDiff(first date, second date)