Please help me find a solution. I need to extract from the bellow table (first column is Month and the second is Year) the variables (I use get text activity).
After that I need somehow to convert the both variables in a date format and use it in a if variable where I need to compare with the system month and year and if the difference is bigger then 2.
My problems are:
Step 1:
build a variable (BuildDateVar) in a assign activity: MonthExtracted.tostring+“/”+“01”+“/”+YearExtracted.toString
Use a if activity with the follwing command:
DateTime.ParseExact(BuildDateVar,“MM/dd/yyyy”,System.Globalization.CultureInfo.InvariantCulture) > Today.AddDays(-60)
My Problems are: Error date no recognized (BuildDateVar).
I compare the days and not the month (please help me here).