I’m having trouble will trying to compare 2 dates.
I need to compare a date that i read out of a PDF in the following format dd-MM-yyyy.
I need to compare this date to the date of today and i get it like this: now.tostring(“dd-MM-yyyy”)
Have tried it with a if and compare date but can’t get it to work.
To compare dates, you need to have them in DateTime format (Not String)
So, to convert string date (dd-MM-yyyy) in DateTime format just use following code in Assign activity.