Hello,
Is it possible to create a calculation that returns the number of days between two date picker in cost estimation and payment form?
On the support page of the plugin, they give this code that doesn’t work on my website:
(Math.ceil(Math.abs(new Date(jQuery(‘[data-title=”Date de fin”]’).datepicker( ‘getDate’ )).getTime() – new Date(jQuery(‘[data-title=”Date de debut”]’).datepicker( ‘getDate’ )).getTime()) / (1000 * 3600 * 24)))*70
Could you help please?
Thanks a lot!