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