PHP

매달에 마지막 날짜를 구할수 있는 방법

0hee 2010. 8. 26. 08:57

function get_last_day($month, $year) {
        return date('d', mktime(0, 0, 0, $month, 0, $year));
}