method
beginning_of_month
v2.1.0 -
Show 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)