From: Chris Date: 2006-06-08T23:56:23+09:00 Subject: Re: iterative question joe wrote: > hi all > how to do a iterative for Time object, > i.e. > i wanna iterative from 2000/05/05 to now, output to a array > > regards Date supports iteration: startDate = Date.parse('2000/05/05') days = [] startDate.upto(Date.today){|day| days << day} cheers -- Posted via http://www.ruby-forum.com/.