From: Tanner Burson Date: 2007-01-10T00:22:08+09:00 Subject: Re: how to get 1 month in the future ------=_Part_91977_27979017.1168356125549 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/9/07, Ilan Berci wrote: > > shawn bright wrote: > > Hello there all, i am writing a function that will create a list of all > > the > > months between two given dates > > > > require 'rubygems' > require_gem 'actionpack' > 1.month.from_now > > got to love actionpack.. :) > > ilan You just have to be aware that all that does is add 30 days to today's date. This is not neccessarily the same as getting 1 month from today, which is actually a bit more complex that one would think at first glance. -- ===Tanner Burson=== tanner.burson@gmail.com http://www.tannerburson.com ------=_Part_91977_27979017.1168356125549--