const diffDays = (date, otherDate) => Math.ceil(Math.abs(date - otherDate) / (1000 * 60 * 60 * 24)); // diffDays(new Date('2014-12-19'), new Date('2020-01-01')) === 1839
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기