Unix 时间戳(毫秒)
这将返回 Day.js 对象自 Unix 纪元以来的毫秒数。
¥This returns the number of milliseconds since the Unix Epoch of the Day.js object.
dayjs('2019-01-25').valueOf() // 1548381600000
+dayjs(1548381600000) // 1548381600000
要从 Day.js 对象获取 Unix 时间戳(自纪元以来的秒数),你应该使用 Unix 时间戳。
¥To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp.