Open this page in the API Guide

GregorianProvider.GetTimeDifference Method

Calculates the number of members between the specified dates.

Namespace:  Dundas.BI.Data.TimeDimensionProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public override long GetTimeDifference(
	DateTime startDate,
	DateTime endDate,
	int targetIntervalId
)

Parameters

startDate
Type: System.DateTime
The start date.
endDate
Type: System.DateTime
The end date.
targetIntervalId
Type: System.Int32
The target interval ID.

Return Value

Type: Int64
The number of members between the specified dates.
See Also