KQL | "today" function giving strange result | Need more clarification




I have one property of datetime (Deadline Date) and wanted use that in filtering data in KQL. Result set which I want from KQL is that Articles (Site Pages) should get whose Deadline date (mapped to RefinableDate02) is greater than or equal to current date and time.


Currently query has been written like below screenshot.




I have 2 site pages whose values mapped like below.


*********Result Set from KQL **********

Example 1: No output/result if timestamp have 00:00


Example 2: Getting output/result if timestamp have 00:01


As mentioned in Microsoft doc (Link), "today" represents the time from the beginning of the current day until the end of the current day.


So considering above description, example 1 should also work fine. But, it doesn't.


Any documentation/guidance would be very helpful to understand how "today" returns value and getting compared in KQL query for results.


Thanks in advance !




0 Replies