From: Bertram Scharpf Date: 2007-04-08T21:45:44+09:00 Subject: Re: Finding last date Hi, Am Freitag, 06. Apr 2007, 21:45:43 +0900 schrieb Jeremy Hinegardner: > On Fri, Apr 06, 2007 at 06:00:50PM +0900, Dipesh Batheja wrote: > If you want even more interesting time/date utility functions add in the > facets gem and try out the 'more/times' items, you can do things like > 1.week.ago and 3.hours.from_now. > > http://facets.rubyforge.org/src/doc/rdoc/more/classes/Numeric.html Very nice. But unfortunately a month is not alway 30 days and a year not always 365. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de