# Getting wrong dates even when i declare a date filter

**URL:** <https://discuss.elastic.co/t/getting-wrong-dates-even-when-i-declare-a-date-filter/220673>\
**Category:** Logstash\
**Created:** [February 24, 2020, 2:17pm UTC](https://discuss.elastic.co/t/getting-wrong-dates-even-when-i-declare-a-date-filter/220673 "2020-02-24T14:17:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samargh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samargh/32/70171_2.png) [@samargh](https://discuss.elastic.co/u/samargh)\
**Post date:** [February 24, 2020, 2:17pm UTC](https://discuss.elastic.co/t/getting-wrong-dates-even-when-i-declare-a-date-filter/220673/1 "2020-02-24T14:17:41Z")

</div>

i'm getting wrong dates even when i declare a date filter  
date {  
match =\> ["Temporary Service Class Expiry Date", "YYYY-MM-dd"]  
target =\> "Temporary Service Class Expiry Date"  
}  
shows May 9, 2014 @ 23:00:00.000  
i don't get from where did he get @ 23:00:00.000 ?  
when i visualise date i get them but in discover zone i get  
Temporary Service Class Expiry Date --  
it seems as if there's an error but it's showing in visualise  
help i dont get the problem

---

<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:** [March 23, 2020, 2:17pm UTC](https://discuss.elastic.co/t/getting-wrong-dates-even-when-i-declare-a-date-filter/220673/2 "2020-03-23T14:17:42Z")

</div>

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