My question is this:
I have two input
of type date
.
What I want to do in Javascript is to calculate the difference of days from first to second, that is, if the person put on 09/19/2015 on the first input
and on 25/09/2015 on the second, then it is calculated how many days have passed from 19 to 25, that is, 6 days.
How will I do this?
Thank you.