method
beginning_of_year
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveSupport::CoreExtensions::Time::Calculations
beginning_of_year()
public
Returns a new Time representing the start of the year (1st of january, 0:00)