📅  最后修改于: 2022-03-11 15:03:11.458000             🧑  作者: Mango
代码示例1
function daysInThisMonth() {
var now = new Date();
return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
}