Returns the number of days in the date‘s month.
Date.new(2004,2).days_in_month #=> 28
An enhanched to_s method that cane take an optional format flag of :short or :long.
To be able to keep Dates and Times interchangeable on conversions.
Alias for stamp
Convert Date to Time.
[Validate]