My question is:
I have two input of type date.
What I want to do in Javascript is to calculate the amount of days from the first to the second, ie if the person put dateEnter = day 06/02/2018 in the first input and dataSaida = 06/06/2018 in the second , then it is calculated how many days have passed in a new input, that is, 4 days.
How will I do this?