I have this condition set for a datetime that refers to one excel column with dates on it:
DateTime.ParseExact(row("columnname ").ToString.Substring(0, 10),“MM/dd/yyyy”, System.Globalization.CultureInfo.InvariantCulture) < Now.AddDays(-2)
I want to simply have the condition only recognize the previous two days, nothing more then that. When I run it it’ll also affect days that are more then 2 days. Does anyone know what I would need to do to only have the last two days recognized and not everyday previous to today?