Determine the number of days in a month.
Determine the number of days in a year according to the Gregorian calendar.
SixArm.com » Ruby » Date methods for days