[jquery] 두 날짜 사이 일수 구하기 var startDay = new Date($('#startDay').val()); var endDay = new Date($('#endDay').val()); var diffDate = Math.abs(endDay - startDay); console.log(diffDate/(1000 * 3600 * 24))); javascript, jquery 2022.03.04