If statement for recent date

Hello,

I am trying to write an if statement to say if OrientationDate is within the last 2 days then so and so. What would be the condition?

@sam1313

Welcome back to our uipath community.

Try below condition.

       IF OrientationDate <= Now.AddDays(-2).Tostring("dd/MM/yyyy")

Where OrientationDate variable is of type Date

1 Like

ok thank you

1 Like

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