Name

to_a — Returns an Array representation

Synopsis

dateObj.to_a

Description

#to_a returns an Array representation of dateObj. The elements of the array are, in order: seconds, minutes, hours, day, month, year, wday, yday.