From: Platoon Tb Date: 2008-07-16T11:41:32+09:00 Subject: Re: Calculate last day of month class Date def self.last_day_of_the_month(yyyy, mm) new(yyyy, mm).next_month - 1 end end -- Posted via http://www.ruby-forum.com/.