require 'time'click_counts = {}1.upto(30) { |i| click_counts[Time.parse("2006-09-#{i}")] = 400 + rand(700) }p click_counts