Version

CreateDateRangeOperand Method

Creates an operand used to compares dates to a range of dates based on a given relative date and the granularity to which the dates should be compared (e.g. compare the year).
Syntax
'Declaration
 
Public Shared Function CreateDateRangeOperand( _
   ByVal relativeDate As Date, _
   ByVal scope As DateRangeScope _
) As SpecialFilterOperandBase
public static SpecialFilterOperandBase CreateDateRangeOperand( 
   DateTime relativeDate,
   DateRangeScope scope
)

Parameters

relativeDate
A date that will be used to calculate the range for the comparison.
scope
Defines how much of the date should be compared.

Return Value

Returns an operand that can be used to compare for a specific range of dates.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also