Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to filter list items by current system time in search result wp or result source SharePoint 2013

$
0
0

I want to display Items with PressDate less than or equal to current time in my search result webpart in SharePoint 2013.

It is working fine for current date but not considering current time.

{searchTerms} ContentType="ABC" PressDateTime<{Today+1} 

Above query not supporting for Now(), due to that it is showing items which are less than or equal to current (today's) date.
How can I compare time with current system Time?..Thanks in advance.


Regards, --NP


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>