Check if date is older than days

Hi,

I have a loop where I need to check if the date is older than 5 days, so lets say we have today 8.12.2021 so the 3.12.2021 should be the last I process.

If this will be 2.12.2012 then I need to delete this row. How to create this if checking this 5 days?

Another quesion how to delete this row? With Delete Rows activity?

Best Regards

@wenar58700

First you can store the value into datetime variable, for that check as below

Now you can use IF condition and compare

Hope this will help you

Thanks

Hi,

thanks for replay! I saw that but actually this guy is comparing the dates and I dont know how to do something that date is today - 5 days to get this into variable.

@wenar58700

For difference of dates in days, check below post

Hope this will help you

Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.