Date Structure

Returns date elements.

Returned Fields

Name Type Description
circa Boolean Indicates wether the date is an approximation
day Number Date's day
end_circa Boolean Indicates wether the end date is an approximation
end_day Number Date's end day (only valid if range is between)
end_month Number Date's end month (only valid if range is between)
end_year Number Date's end year (only valid if range is between)
month Number Date's month
range String Range (before, after, or between)
year Number Date's year
Note: Blank fields will not be returned to save bandwidth.

rails-1a-012