毫秒
获取或设置毫秒。
接受从 0 到 999 的数字。如果超出范围,它将冒泡到秒。
dayjs().millisecond() // gets current millisecond
dayjs().millisecond(1) // returns new dayjs object
当前版本 v1.11
更多文档获取或设置毫秒。
接受从 0 到 999 的数字。如果超出范围,它将冒泡到秒。
dayjs().millisecond() // gets current millisecond
dayjs().millisecond(1) // returns new dayjs object
Day.js 中文文档 - 粤ICP备14034220号-1