novice2004
Programmer
I get two dates from text fields
"10/30/2004"
"11/25/2004"
How do I determine difference in days?
Thank you.
"10/30/2004"
"11/25/2004"
How do I determine difference in days?
Thank you.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var d1 = new Date("10/30/2004");
var d2 = new Date("11/25/2004");
var days = (d2 - d1) / 1000 / 60 / 60 / 24;