Return random date between start/end

def random_date_between(start_date, end_date):
    """Return random date between start/end"""
    assert isinstance(start_date, datetime.date)
    delta_secs = int((end_date - start_date).total_seconds())
    delta = datetime.timedelta(seconds=random.randint(0, delta_secs))
    return (start_date + delta)