此刻
不带参数调用 dayjs() 会返回一个包含当前日期和时间的新 Day.js 对象。
¥Calling dayjs() without parameters returns a fresh Day.js object with the current date and time.
var now = dayjs()
这与调用 dayjs(new Date()) 基本相同。
¥This is essentially the same as calling dayjs(new Date()).
Day.js 将 dayjs(undefined) 视为 dayjs(),因为函数参数未传入时默认为未定义。
¥Day.js treats dayjs(undefined) as dayjs() due to that function parameters default to undefined when not passed in.
Day.js 将 dayjs(null) 视为无效输入。
¥Day.js treats dayjs(null) as an invalid input.
