パラメーターを反映する配列を返します。 これを使用するには、ToArray プラグインが必要です。 dayjs.extend(toArray) dayjs('2019-01-25').toArray() // [ 2019, 0, 25, 0, 0, 0, 0 ]