method

to_datetime

rails latest stable - Class: DateTime

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

to_datetime()
public

To be able to keep Times, Dates and DateTimes interchangeable on conversions.