Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I would suggest to do a getTime() of both dates (you will have a value in milliseconds since midnight Jan 1, 1970. Than you can subtract the values and afterwards do a new Date(milliseconds), which will convert it back into a date.
I will try these and let you know if I have success. When reading javascript instructions such as the date and time functions, I am sometimes confused as to how to include it into a Mobione function.