# Elasticsearch Birthday field

**URL:** https://discuss.elastic.co/t/elasticsearch-birthday-field/132836
**Category:** Elasticsearch
**Created:** [May 22, 2018, 2:08pm UTC](https://discuss.elastic.co/t/elasticsearch-birthday-field/132836 "2018-05-22T14:08:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![eedugon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eedugon/32/45404_2.png) [@eedugon](https://discuss.elastic.co/u/eedugon)
#### Post date: [May 22, 2018, 7:05pm UTC](https://discuss.elastic.co/t/elasticsearch-birthday-field/132836/2 "2018-05-22T19:05:42Z")

</div>

Duplicated topic:

> [@Birthday in Elasticsearch](https://discuss.elastic.co/t/birthday-in-elasticsearch/132785):
>
> I have a Birthday date-field (format: MMddyyyy||MMdd) in my index. I want to search for exact birthday that a user search for (eg. 03221989) and the upcoming birthdays. I am able to get the exact birthday. But for upcoming birthdays, i tried: Range query - "gte" : "now" -\> it won't work as now will also have a year field and I want to find 03221989 type Birthdays as well Range query - "gte" : "03221989" -\> with this i am able to sort the records in ascending order of Month Suppose in my index…

Let's follow up from one place.

Regards,  
Eduardo

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-birthday-field/132836)._
