获取从1970.1.1 至今 的绝对星期数
// npm install absWeek
import absWeek from 'absWeek'
absWeek(
new Date(year, month, day) // 精确到'日' 返回从1970.1.1的绝对星期数
)
| Name | Name | Last commit date | ||
|---|---|---|---|---|
获取从1970.1.1 至今 的绝对星期数
// npm install absWeek
import absWeek from 'absWeek'
absWeek(
new Date(year, month, day) // 精确到'日' 返回从1970.1.1的绝对星期数
)