# Date math questions

**URL:** <https://discuss.elastic.co/t/date-math-questions/208559>\
**Category:** Elasticsearch\
**Created:** [November 19, 2019, 6:27pm UTC](https://discuss.elastic.co/t/date-math-questions/208559 "2019-11-19T18:27:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_99](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@john\_99](https://discuss.elastic.co/u/john_99)\
**Post date:** [November 19, 2019, 6:27pm UTC](https://discuss.elastic.co/t/date-math-questions/208559/1 "2019-11-19T18:27:04Z")

</div>

Hi,

I am pulling the data with {"gte": "now-1d/d"}}}, what if I need to pull the data twice a day - noon and midnight EST.

---

<div class="post-metadata">

**Author:** ![john\_99](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@john\_99](https://discuss.elastic.co/u/john_99)\
**Post date:** [November 19, 2019, 11:01pm UTC](https://discuss.elastic.co/t/date-math-questions/208559/2 "2019-11-19T23:01:43Z")

</div>

@theuntergeek

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 26, 2019, 3:31pm UTC](https://discuss.elastic.co/t/date-math-questions/208559/3 "2019-11-26T15:31:10Z")

</div>

Does `now-12h/h` work for you? I can't see a way to do this at precisely midnight/noon other than to run it with this setting just after those hours start.

---

<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:** [December 24, 2019, 3:37pm UTC](https://discuss.elastic.co/t/date-math-questions/208559/4 "2019-12-24T15:37:34Z")

</div>

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