method

days_in_month

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods
days_in_month(month, year = now.year) public

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

Show source
Register or log in to add new notes.