简体中文
主题
返回一个包含日期时间各部分的数组。
TIP
此功能需要 ToArray 插件才能正常使用。
dayjs.extend(toArray); dayjs('2019-01-25').toArray(); // [ 2019, 0, 25, 0, 0, 0, 0 ]