From: "Pål Bergström" Date: 2008-10-28T18:33:22+09:00 Subject: Re: Days in a year A stupid question in the first place. I've done like this; I check if Feb in a particular year has 29 days or not, so it gives 365 or 366 days. Simple. :-) -- Posted via http://www.ruby-forum.com/.