常用代码

30 阅读1分钟

JS获取某年某个月有多少天

32 - new Date(year, month - 1, 32).getDate()