From: Jon Egil Strand Date: 2006-09-23T00:10:05+09:00 Subject: Re: Calculate last day of month I've had this problem often enough to make a gem of my solution: require 'expanded_date' d = Date.new => 2006-09-22 d.end_of_month => 2006-09-30 d.end_of_next_month => 2006-10-31 The gems is in production use and will continue to be maintained. Any feedback would be welcome. Rdoc: http://backofficegems.rubyforge.org/expanded_date/doc/ -- Jon Egil Strand Phone: +47 98232340 jes@luretanker.no