js获取某年某月天数

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

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