-1
My question is this::
I have two input type date.
What I want to do in Javascript is to calculate the number of days from the first to the second, ie if the person put dateEntrada = day 02/06/2018 in the first input and dateSaida = 06/06/2018 in the second, then it is calculated how many days have passed in a new input , ie, 4 days.
How am I gonna do that?
Difference between dates, [How to calculate the days difference using "date" input? duplicate]
– NoobSaibot
6-2=4, not 5
– Sam
Put the code you already have, so it’s easier.
– Sam
Welcome Marco Aurélio, if any answer solved your problem be sure to mark it as accepted, see https://i.stack.Imgur.com/evLUR.png and why https://pt.meta.stackoverflow.com/questions/1078/como-e-por-que-accepta reply/1079#1079
– user60252
was lack of coffee guy kkkkkkkkkk, thank you.
– Marco Aurélio