Module: ActiveSupport::CoreExtensions::Date::Conversions

Module | ActiveSupport::CoreExtensions::Date::Conversions
In: | lib/active_support/core_ext/date/conversions.rb

Getting dates in different convenient string representations and other objects

### Methods

to_date to_formatted_s to_time

### Constants

DATE_FORMATS | = | { :short => "%e %b", :long => "%B %e, %Y"

### External Aliases

to_s | -> | xmlschema

### Public Instance methods

to_date()

To be able to keep Dates and Times interchangeable on conversions

to_formatted_s(format = :default)
to_time(form = :local)

[Validate]