require 'date'
start = Date.parse('2012-09-02')
finish = Date.parse('2013-11-30')
dates_array = (start..finish).map(&:to_s)
list = [101,102,103,104,105]
=> [101, 102, 103, 104, 105]
list2 = [101,102,103]
=> [101, 102, 103]
(list-list2) | (list2-list)
=> [104, 105]