method

days_in_year

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Time
days_in_year(year = current.year) public

Returns the number of days in the given year. If no year is specified, it will use the current year.

Show source
Register or log in to add new notes.