Day.js 中文文档

当前版本 v1.11

更多文档

月份的天数

获取当月的天数。

dayjs('2019-01-25').daysInMonth() // 31

Day.js 中文文档 - 粤ICP备14034220号-1