Unix 时间戳
返回当前实例的 UNIX 时间戳,10位数字,秒。
dayjs('2019-01-25').unix() // 1548381600 (Returns Unix timestamp based on local timezone.)
此值不包含毫秒信息,会进位到秒。
返回当前实例的 UNIX 时间戳,10位数字,秒。
dayjs('2019-01-25').unix() // 1548381600 (Returns Unix timestamp based on local timezone.)
此值不包含毫秒信息,会进位到秒。