method
beginning_of_month
rails latest stable - Class:
ActiveSupport::CoreExtensions::Date::Calculations
beginning_of_month()public
Returns a new ; DateTime objects will have time set to 0:00DateTime representing the start of the month (1st of the month; DateTime objects will have time set to 0:00)