code: def get_dates(schema):
      
      dates = [config.LAST_UPDATED, config.DATE_CREATED]
      for field, field_schema in schema.items():
          if field_schema['type'] == 'datetime':
              dates.append(field)
      return dates
docs: Return list of datetime fields for given schema.