Finding results from specific day (NEST)


#1

What is the most correct way to find results from specific day?

For example, I would like to get all results from 14/10/17, regardless of time.

I was thinking to use combination of:

  1. GreaterThanOrEquals (14/10/17 00:00)
  2. LessThanOrEquals (14/10/17 23:59)

Is there any better approach for doing that? (from performance aspect).


(David Pilato) #2

Better to use LessThan 15/10/2017 for exact results.

No impact on performance


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.