method
beginning_of_month

Ruby on Rails latest stable (v5.2.3)
-
0 notes -
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)