코드 :
let date = new Date(); //YYYY-MM-DD format date.toISOString().split("T")[0]
결과 :
2018-01-05
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기