method

to_a

to_a()
public

Returns all date/time components in an array.

Returns +[year, month, day, hour, min, sec]+.