Jslfl

星河码客,月下程序猿,乱七八糟的笔记

4月, 2017

js获取指定月份的天数

如取2017年2月的天数 var day = new Date(2017, 2, 0).getDate();