자바스크립트 날짜형식 두자리수, 0표시
자바스크립트 에서 날짜 나 월을 2자리로 표시하는 방법 날짜 2자리 표시 (“0” + this.getDate()).slice(-2); 월 2자리 표시 (“0” + (this.getMonth() + 1)).slice(-2); https://stackoverflow.com/questions/6040515/how-do-i-get-month-and-date-of-javascript-in-2-digit-format