How to check if input date is less than current date or not?

Hi All,

I want to check whether input date is less than current date. If it is less then do some activities otherwise retry.

image

In flow decision I have tried these conditions :-
varDate.Date.ToString < Now.Date.ToString
varDate.ToString < Now.ToString

But instead of retrying it is continuing the next process even if the input date is greater than current date.

Please help me with this.

Thanks in Advance:-)

Hi,

For now, can you try the following expression, if varDate is DateTime type?

varDate.Date < Now.Date

Regards,

Yes it is DateTime type only. And thanks for immediate response. It’s working properly now.

1 Like

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