# Elasticsearch fails for future dates 2.4.0

**URL:** <https://discuss.elastic.co/t/elasticsearch-fails-for-future-dates-2-4-0/124343>\
**Category:** Elasticsearch\
**Created:** [March 16, 2018, 5:53pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-for-future-dates-2-4-0/124343 "2018-03-16T17:53:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinkdffrnt](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@thinkdffrnt](https://discuss.elastic.co/u/thinkdffrnt)\
**Post date:** [March 16, 2018, 5:53pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-for-future-dates-2-4-0/124343/1 "2018-03-16T17:53:31Z")

</div>

Is this an issue with 2.4.0 and lesser or for all ES versions. I'm guessing ES has a check for number of digits

Here is a sample value for what is fails(Human time (GMT): Thursday, March 20, 3000 12:00:00 AM):  
Format in epoch\_millis: 32510419200000

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [March 20, 2018, 3:08am UTC](https://discuss.elastic.co/t/elasticsearch-fails-for-future-dates-2-4-0/124343/2 "2018-03-20T03:08:54Z")

</div>

I am sorry, but it is not clear what are you asking here. Are you saying that you are getting an error by using number `32510419200000` to represent a date in epoch? If so, then it helps of you tell what the error is.

---

<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:** [April 17, 2018, 3:08am UTC](https://discuss.elastic.co/t/elasticsearch-fails-for-future-dates-2-4-0/124343/3 "2018-04-17T03:08:56Z")

</div>

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