AddDateGrouping Method (eDateGroupBy, DateTime, DateTime)

Office Open XML

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(
	eDateGroupBy groupBy,
	DateTime startDate,
	DateTime endDate
)
Visual Basic (Declaration)
Public Sub AddDateGrouping ( _
	groupBy As eDateGroupBy, _
	startDate As DateTime, _
	endDate As DateTime _
)
Visual C++
public:
void AddDateGrouping(
	eDateGroupBy groupBy, 
	DateTime startDate, 
	DateTime endDate
)

Parameters

groupBy
Type: OfficeOpenXml.Table.PivotTable..::.eDateGroupBy
Group by
startDate
Type: System..::.DateTime
Fixed start date. Use DateTime.MinValue for auto
endDate
Type: System..::.DateTime
Fixed end date. Use DateTime.MaxValue for auto

See Also