I want to create an early bird discount which offers a lower price if completing the form before a specific date.
I have followed all the examples for date difference calculation as well as setting a specific date in a datepicker - but its just not working.
The example uses a custom calculation like this:
if(([item-325_date] <'June 15, 2019') ) {
10
}
Which should give 10 off the total price if the date selected in less than June 15th, 2019. But it always gives the discount - which means the formula is always proving true.
Is there an issue in the datepicker or does the date have to be written a different way?
If I try to use the date difference function, how do I enter the early bird date for the calculation? (in the example below 323 is a sample datepicker for testing and the formula works – but I need that date to be a fixed date already set.
[dateDifference-currentDate_323]
Thanks for your help!

