# Finding results from specific day (NEST)

**URL:** https://discuss.elastic.co/t/finding-results-from-specific-day-nest/103978
**Category:** Elasticsearch
**Created:** [October 14, 2017, 7:21am UTC](https://discuss.elastic.co/t/finding-results-from-specific-day-nest/103978 "2017-10-14T07:21:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Illidan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/illidan/32/54264_2.png) [@Illidan](https://discuss.elastic.co/u/Illidan)
#### Post date: [October 14, 2017, 7:21am UTC](https://discuss.elastic.co/t/finding-results-from-specific-day-nest/103978/1 "2017-10-14T07:21:02Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 14, 2017, 9:45am UTC](https://discuss.elastic.co/t/finding-results-from-specific-day-nest/103978/2 "2017-10-14T09:45:30Z")

</div>

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

No impact on performance

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 11, 2017, 9:46am UTC](https://discuss.elastic.co/t/finding-results-from-specific-day-nest/103978/3 "2017-11-11T09:46:05Z")

</div>

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