method

to_datetime

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::String::Conversions
to_datetime() 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/string/conversions.rb, line 22
        def to_datetime
          ::DateTime.civil(*ParseDate.parsedate(self)[0..5].map {|arg| arg || 0} << 0)
        end
Register or log in to add new notes.