Adds a DateTime constraint to this clause.
Field to search. The field must return DateTime values, for example PlumtreeField.LAST_MODIFIED. Adding a field of the wrong type may cause an exception on the search server. Operator.Equals or Operator.GreaterThan. DateTime value to evaluate. Note that DateTimes in the search server are only accurate to within four minutes, so Operator.Equals is discouraged. Using GreaterThan/LessThan or a date range is the recommended usage. DateTimes in the search server should remain sequential as they are indexed, although roundoff may result in two dates that were sequential on input being the same in the search server. The field must be searchable.
| Exception Type | Condition |
|---|---|
| ArgumentException | The field is not searchable. |
IFilterClause Interface | Plumtree.Remote.PRC.Search Namespace | IFilterClause.AddStatement Overload List