获取某月天数的函数

function totalDays(yy,mm)
  dt=dateSerial(yy,mm,1)
  totalDays=datediff("d",dt,dateadd("m",1,dt))
end function

response.write("年份","月份")

posted @ 2008-11-20 16:59  missthe  阅读(280)  评论(0编辑  收藏  举报