I am trying to make a REST API call to fetch the list of pages published before a given date and time:
//_api/search/query?querytext='Path:http:sharepointpath owstaxIdTaxKeyword:81394a-cedb-4c19 AND (StoryDate<=2016-12-19)'&rowlimit=5& selectproperties='Title'&enablequeryrules=false
The StoryDate has values like
I also tried
StoryDate<2016-12-19T08:00:00Z, which didn't work. Whereas
Now the problem is how do I do a
less than or equal to in this case given that the values I have are in date format?