教程 dayjs tutorial

Minute

获取或设置分钟。

传入 0 到 59 的数字。 如果超出这个范围,它会进位到小时。

javascript
dayjs().minute(); // gets current minute
dayjs().minute(59); // returns new dayjs object