What is the difference between the two dates of JS?

VAR day1 = new date (“2017-9-17″); var day2 = new date (” 2017-10-18 “); console.log ((day2 – day1) / (1000 * 60 * 60 * 24));
   
Two of this JS The date of the date is more than the difference is that Xiaobian shared all the contents, I hope I can give you a reference, I hope everyone will support Tumi Cloud.
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment