From: Guillaume Marcais Date: 2005-05-11T05:16:51+09:00 Subject: Re: Enumerating only months in a Date range? On Wed, 2005-05-11 at 04:13 +0900, John Lam wrote: > Thanks, Mark! > > The self >> 1 line is um, rather mysterious to me. How does that skip by months? $ ri 'Date#>>' ---------------------------------------------------------------- Date#>> >>(n) ------------------------------------------------------------------------ Return a new Date object that is +n+ months later than the current one. If the day-of-the-month of the current Date is greater than the last day of the target month, the day-of-the-month of the returned Date will be the last day of the target month. Guillaume. > Cheers, > -John > http://www.iunknown.com >