모멘트.js의 주요 사용법 및 API

현在년도 moment().format("YYYY") // 문자열 "2020" moment().year() / moment().get('year') // 숫자 2020 현在월 moment().format('MM') // September인 경우, 문자열 "09" moment().month() / moment().get('month') // September인 경우, 숫자 8 현在요일 moment().format('dddd') // Sunday인 경우, 문자열 "Sunday&quo ...

6월 10일 23:23에 게시됨