一、代码

function getDay(year, month){
    var y = new Date(year,month,1,0,0,0);
    var yd = new Date(y-1000);
    return yd.getDate();
}

 

相关文章:

  • 2021-07-01
  • 2021-07-06
  • 2021-04-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案