How to compare date is <=today

Hi All

I have 2 fields expiration date and effective date on my web page it should be <=today how to compare the dates. Please help me![Date|528x300]

1 Like

Hi @thima

See these

I am sure you will find a solution from above

Thanks,
Prankur

2 Likes

Hi @thima,

You can use compare date activity.

for more info, Please refer below link.

Regards,
Nitesh

Hi @thima
In case you are going to use “Compare date” activity, you will need to install Workflow Manager Activities package via Manage Packages.

Alternatively, you can use e.g. ParseExact to convert your original input date in a string format, so you can later compare it with today’s date “date.Now.Date”.

3 Likes

Thank you all for great help my issue is resloved