Date functions

 

Function Description Example
year()

Returns results that fulfill the defined year.

 

$filter=year(Created) eq 2020

Returns entries created in the year 2020.

month()

Returns results that fulfill the defined month, expressed as an integer.

$filter=month(Created) eq 12

Returns entries created in a December month regardless of the year.

day() Returns results that fulfill the defined day, expressed as an integer.

$filter=day(Created) eq 10

Returns entries created on the 10th day, regardless of the year or month.