Hi everyone, I have a form that displays the amount of days as seen in the image below. I believe because next year is a leap year the value is showing 366 days for a one year policy. I am having trouble with my formula right now. I want to display, 'If the calculated date is = 366, then subtract 1. I've tried a few ways and I'm not getting it to work. Any help is appreciated.

Here is the current formula below:
dateDiffDays(policyStartDate,policyEndDate)*If(greaterThan(policyStartDate,policyEndDate),-1,1) + " days"