method

to_time

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Date::Conversions
to_time(form = :local) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/date/conversions.rb, line 25
        def to_time(form = :local)
          if respond_to?(:hour)
            ::Time.send(form, year, month, day, hour, min, sec)
          else
            ::Time.send(form, year, month, day)
          end
        end
Register or log in to add new notes.