js获取某年某月天数

//获取某年某月天数
function GetDays(Year,Month)
{
return new Date(Year,Month,0).getDate();  
}

posted @ 2008-11-26 10:45  半克拉鹅卵石  阅读(818)  评论(1编辑  收藏  举报