ChronosChronos

toArray

Converts to array with all date unit parts.

toArray()

Converts to array with all date unit parts

Signature

toArray(): TupleOf<number, 12>

Return Type

TupleOf<number, 12> - Date component values as array (tuple) of numbers (12 elements, the values of ChronosObject from toObject method)

Example

playground.ts

Last updated: Thu, May 21, 2026 02:09:18PM (UTC)

On this page