module FFaker::Time
def between(from, to)
def between(from, to) from_value = convert_to_time(from) to_value = convert_to_time(to) ::Time.at(from_value + rand * (to_value.to_f - from_value.to_f)) end
def between(from, to) from_value = convert_to_time(from) to_value = convert_to_time(to) ::Time.at(from_value + rand * (to_value.to_f - from_value.to_f)) end