日付 差の日数

qiita.com

 

Get difference between 2 dates in javascript? - Stack Overflow