i want to find out the date from a excel item which is overdue for 60 days.but i don’t now how to achieve it.and this excel is auto output from the sap system,and i find this item is not define to date type.Do I need to convert this to system.datetime first?Thanks for your help in advance.
Yes that’s correct that is a required thing. Convert the column with the date field to date and then apply the filter for any date above 60 days to be picked.
do as follows
Create a assign activity and assign dueDate as follows
dueDate = DateTime.Today - DateTime.Parse(row(“due date”).ToString)
in your loop check following condition in if activity
dueDate.Days>60
@chlosh, I have made sure that the results are accurate (the number of overdue dates) by comparing what the bot calculates against manual calculations on this site: