마지막날짜를 반환하는 API이다.
function btngetlastday_on_mouseup() { // 2016년 10월의 마지막날짜를 구하기 screen.alert(calendar.getlastday("2016", "10")); }