Checking if Date is more than 1 week already

Hello! I am new to UiPath and I want to know how to check if a date is 7 days past already.
Thank you!

Hi @PLagiru
Welcome to UiPath!
I believe that we already have a solution for that.
Please check this post by @ovi: Check if certain date - date today is more then 30 days
You will just adjust the number of days (currently 30) to 7.
Hope this helps.
Despi

4 Likes

Subtracting the date with todays date got using System.DateTime.Now(), will get you no of days.
You can use this number and apply different logics.

Thank you!
It does not work at first but I just tweaked something and it works.

1 Like

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