Returns an array that mirrors the parameters This requires the ToArray plugin to work dayjs.extend(toArray) dayjs('2019-01-25').toArray() // [ 2019, 0, 25, 0, 0, 0, 0 ]