# How to get spesific data in Long Date value

**URL:** <https://discuss.elastic.co/t/how-to-get-spesific-data-in-long-date-value/225800>\
**Category:** Elasticsearch\
**Created:** [March 31, 2020, 7:03am UTC](https://discuss.elastic.co/t/how-to-get-spesific-data-in-long-date-value/225800 "2020-03-31T07:03:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhjaury](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhjaury/32/63514_2.png) [@muhjaury](https://discuss.elastic.co/u/muhjaury)\
**Post date:** [March 31, 2020, 7:04am UTC](https://discuss.elastic.co/t/how-to-get-spesific-data-in-long-date-value/225800/1 "2020-03-31T07:04:00Z")

</div>

My data in user.created\_at field is like below

```auto
Tue Mar 10 23:03:00 +0000 2020
Tue Mar 10 04:29:18 +0000 2020
Tue Jan 21 08:45:43 +0000 2020
Tue Mar 10 00:11:45 +0000 2020
Tue Jan 28 04:11:45 +0000 2020
Sun Mar 08 10:19:19 +0000 2020

```

And I tried to Query ES like

```auto
{
 "query": {
   "bool": {
     "must": [
       {
        "match": {
          "sentiment": "neutral"
         }
        }
        ,
       {
        "wildcard": {
          "user.created_at": "*2020"
         }
       }
       ,
       {
        "match": {
          "user.created_at": "Tue Mar 10"
         }
       }
      ],
      "must_not": [],
      "should": []
       }
    }}

```

But there is also show another datas which is that I don't want too. My Question is, how do I return only data with date **Tue Mar 10 23:03:00 +0000 2020** spesifically ? I don't have any idea about this. Please help me

---

<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 28, 2020, 7:04am UTC](https://discuss.elastic.co/t/how-to-get-spesific-data-in-long-date-value/225800/2 "2020-04-28T07:04:04Z")

</div>

Closed on April 28, 2020, 7:04am UTC

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