javascript check date difference in days code example
Example: calculate days between two dates in javascript
<input id="first" value="25/2/2021"/>
<input id="second" value="26/2/2021"/>
<input id="first" value="25/2/2021"/>
<input id="second" value="26/2/2021"/>