require 'date' date = Date.new( 2006, 11, 8 ) date.upto( date + 5 ) { |date| puts date } date.to_s # => "2006-11-08"