From: "Pål Bergström" Date: 2008-10-28T02:20:22+09:00 Subject: Re: Days in a year Todd Benson wrote: > On Mon, Oct 27, 2008 at 9:12 AM, P�l Bergstr�m wrote: >> How do I get number of days in a year? > > You can use the date library... > > require 'date'; puts Date.new(2005) - Date.new(2004) > => 366 > > Todd So there's nothing like this (Rails) Time.days_in_month() -- Posted via http://www.ruby-forum.com/.