# File lib/faker/date.rb, line 4 def between(from, to) from = get_date_object(from) to = get_date_object(to) Faker::Base.rand_in_range(from, to) end