Date and Time format for extracted value

Hi @paul.baltag1

Assuming your date is always in the same dd-MM-yyyy format, you can convert your string to a System.DateTime variable dateCellValueExtracted using an assign

dateCellValueExtracted = date.ParseExact(CellValueExtracted, “dd-MM-yyyy”, system.Globalization.CultureInfo.CurrentCulture)

and from there you can use it in your if statement:

if dateCellValueExtracted > Today.AddDays(-60)

as they are now of the same type and comparison is allowed.

Hope this helps!
Happy automation!