method

beginning_of_year

v3.2.8 - Show latest stable - Class: Time
beginning_of_year()
public

Returns a new Time representing the start of the year (1st of january, 0:00)