获取某月份的天数
- Source:
Example
getDaysInOneMonth({year: 2020, month: 5}) => 31
Parameters:
Name | Type | Description |
---|---|---|
year |
String | |
month |
String |
Returns:
某月份的天数
- Type
- Number