code: def to_datetime_with_default(value, default_value):
          
          result = DateTimeConverter.to_nullable_datetime(value)
          return result if result != None else DateTimeConverter.to_utc_datetime(default_value)
docs: Converts value into Date or returns default when conversion is not possible.
  
          :param value: the value to convert.
  
          :param default_value: the default value.
  
          :return: Date value or default when conversion is not supported.