method
beginning_of_year
v2.2.1 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Time::Calculations
beginning_of_year()public
Returns a new Time representing the start of the year (1st of january, 0:00)
beginning_of_year()Returns a new Time representing the start of the year (1st of january, 0:00)