Dayjs 两个时间的差值. 复制代码 下载代码 运行代码 ... console.log(dayjs('2018-06-08').diff(dayjs('2017-06-01'), 'year')); // 两个时间之间差几年.
確定! 回上一頁