[javascript] 이전 월의 마지막 날짜 구하기


var now = new Date();


now.setDate(0);


alert(now.getDate());



간단하긴 하지만...


잘 모르는 분들도 있더라...

+ Recent posts