How to calculate if the date.now is 10 days before the future data

Hey Guys,
I have a variable called: delivery_date
I try to understand if the date.now is within 10 days (exactly 10 days) before the delivery date
Please help me :slight_smile:

In the image below you can see, but I get exception.

This is the date:
image

I guess the formatting of the date in the parseDate function is incorrect and it is not matching with the format of addDays function you can try making both of them of same format by using formatDate to MM/DD/YYYY or whichever format you prefer

addition to that i see that in the operators part you have not selected the datetime operator instead you used a time operator

Also your using a , where youre suppose to use ;