code: def _validate_incident_date_range(incident, numdays):
      
      try:
          datetime_object = datetime.datetime.strptime(incident.get('date'), '%m/%d/%y %I:%M %p')
      except ValueError:
          raise ValueError("Incorrect date format, should be MM/DD/YY HH:MM AM/PM")
      timedelta = datetime.timedelta(days=numdays)
      today = datetime.datetime.now()
      if today - datetime_object <= timedelta:
          return True
      return False
docs: Returns true if incident is within date range