Gets the value of the specified Field as a DateTime.
The DateTime value of the field.
Note: DateTimes in the search server are only accurate to four minutes, as the double used to store dates in the portal is converted to float.
| Exception Type | Condition |
|---|---|
| ArgumentException | The field is not present in this ISearchResult. |
| InvalidCastException | The value of the field is not of type Date or the value is null. Use GetFieldAsObject() to check if the value is null. |
ISearchResult Interface | Plumtree.Remote.PRC.Search Namespace