OlderThanXYears Function

Query function to evaluate whether the value is older than the specified amount of years.

Parameters

Parameters allow for data to be passed to the query function.

Name Type Nullable Unicode Description
PropertyName
Edm.String False False The name of the property to evaluate.
PropertyValue
Edm.Int64 False True The value to compare.

Syntax Example

?$filter=Microsoft.Dynamics.CRM.OlderThanXYears(PropertyName=@p1,PropertyValue=@p2)&@p1='name'&@p2=42

See also