IT/javascript

달의 마지막 날짜 구하기

generator 2009. 3. 31. 14:28

var date = new Date(year, month, 0)
return date.getDate();