EPPlus 3.0 |
ExcelPivotTableField..::.AddDateGrouping Method (Int32, DateTime, DateTime) |
ExcelPivotTableField Class See Also Send Feedback |
Add a date grouping on this field.
Namespace:
OfficeOpenXml.Table.PivotTable
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
C# |
---|
public void AddDateGrouping( int days, DateTime startDate, DateTime endDate ) |
Visual Basic (Declaration) |
---|
Public Sub AddDateGrouping ( _ days As Integer, _ startDate As DateTime, _ endDate As DateTime _ ) |
Visual C++ |
---|
public: void AddDateGrouping( int days, DateTime startDate, DateTime endDate ) |
Parameters
- days
- Type: System..::.Int32
Number of days when grouping on days
- startDate
- Type: System..::.DateTime
Fixed start date. Use DateTime.MinValue for auto
- endDate
- Type: System..::.DateTime
Fixed end date. Use DateTime.MaxValue for auto