共用方式為


LastXDays Function

Query function to evaluate whether the value is within the last X days.

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.LastXDays(PropertyName=@p1,PropertyValue=@p2)&@p1='name'&@p2=42

See also