## PivotField::FilterByDate method


Filters by date values of row or column pivot field.

```cpp
PivotFilter Aspose::Cells::Pivot::PivotField::FilterByDate(PivotFilterType type, const Date &dateTime1, const Date &dateTime2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | PivotFilterType | The type of filtering data. |
| dateTime1 | const Date\& | The date label of filter condition |
| dateTime2 | const Date\& | The upper-bound date label of between filter condition |

## See Also

* Class [PivotFilter](../../pivotfilter/)
* Enum [PivotFilterType](../../pivotfiltertype/)
* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotField](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
