From: Todd Benson Date: 2008-10-27T23:44:57+09:00 Subject: Re: Days in a year 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