# I have a field which is storing epoch time i just want to find if that epoch time is falling in current month ? please suggest me how to do that with example

**URL:** <https://discuss.elastic.co/t/i-have-a-field-which-is-storing-epoch-time-i-just-want-to-find-if-that-epoch-time-is-falling-in-current-month-please-suggest-me-how-to-do-that-with-example/177059>\
**Category:** Elasticsearch\
**Created:** [April 16, 2019, 10:25am UTC](https://discuss.elastic.co/t/i-have-a-field-which-is-storing-epoch-time-i-just-want-to-find-if-that-epoch-time-is-falling-in-current-month-please-suggest-me-how-to-do-that-with-example/177059 "2019-04-16T10:25:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitin\_Kumar](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@Nitin\_Kumar](https://discuss.elastic.co/u/Nitin_Kumar)\
**Post date:** [April 16, 2019, 10:25am UTC](https://discuss.elastic.co/t/i-have-a-field-which-is-storing-epoch-time-i-just-want-to-find-if-that-epoch-time-is-falling-in-current-month-please-suggest-me-how-to-do-that-with-example/177059/1 "2019-04-16T10:25:35Z")

</div>

mapping is as follows

"contractDateTime": {  
"type": "long"  
}

---

<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:** [May 14, 2019, 10:25am UTC](https://discuss.elastic.co/t/i-have-a-field-which-is-storing-epoch-time-i-just-want-to-find-if-that-epoch-time-is-falling-in-current-month-please-suggest-me-how-to-do-that-with-example/177059/2 "2019-05-14T10:25:45Z")

</div>

Closed on May 14, 2019, 10:25am UTC

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