I want to generate an array of dates from date1 to date2
I try with [date1..date2]
but not works
How i can do?
Thanks
···
--
Posted via http://www.ruby-forum.com/.
I want to generate an array of dates from date1 to date2
I try with [date1..date2]
but not works
How i can do?
Thanks
--
Posted via http://www.ruby-forum.com/.
(date1..date2).to_a
On 12/11/2007, Luca Roma <roma@nerto.it> wrote:
I want to generate an array of dates from date1 to date2
I try with [date1..date2]
but not works