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 copyright of this article belongs to the author. Please do not reprint it without permission。
Just support it if you like