Extracted Date is 90 Days Less than Todays Date

Hi

I have extracted a date from an email in the format of yy/mm/dd and I would like to be able to check if the extracted date is 90 days less than todays date.

Can someone help please.

Hi Richard,

First you need to convert your string values into dates…
{{date custom.ExtractedDate from_format=“Y/m/d”}}

Then render the date to compare it to…
{{date subtract=“90 days”}}

Then compare the extracted date the comparison date in a Step condition.
Extracted date is within 90 days
custom.RenderedExtractedDate > custom.RenderedComparisonDate

Extracted date is older than 90 days
custom.RenderedExtractedDate < custom.RenderedComparisonDate

Hope this helps.

Thank you @Mark it was a great help.