# Changing Time Filter to consider only dates

**URL:** https://discuss.elastic.co/t/changing-time-filter-to-consider-only-dates/260363
**Category:** Kibana
**Created:** [January 6, 2021, 3:45pm UTC](https://discuss.elastic.co/t/changing-time-filter-to-consider-only-dates/260363 "2021-01-06T15:45:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vikramnr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramnr/32/66065_2.png) [@vikramnr](https://discuss.elastic.co/u/vikramnr)
#### Post date: [January 6, 2021, 3:45pm UTC](https://discuss.elastic.co/t/changing-time-filter-to-consider-only-dates/260363/1 "2021-01-06T15:45:58Z")

</div>

I'm having an issue with time filter where I have set particular field to have time filter option which is an Date field with format strict\_date\_optional\_time.

And in the index documents that only have dates like example 2019-08-12 etc., And my requirement is that I should able to filter documents for that particular date irrespective of the time that I select but time filter isn't allowing to do so.

Is there any other option that should be enabled for this work or am I missing something?

![image](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2f2d6673388eb28bd0b9230c8e7a9a8537b4bf1c.png)

---

<div class="post-metadata">

### Author: ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)
#### Post date: [January 6, 2021, 4:50pm UTC](https://discuss.elastic.co/t/changing-time-filter-to-consider-only-dates/260363/2 "2021-01-06T16:50:45Z")

</div>

Hello,

The inability for timepicker to accept more basic date formats has been identified [here](https://github.com/elastic/kibana/issues/34674).

In the meantime, the formats accepted under `Add Filters` are a little more flexible accepting simpler formats and might work better for you. See this issue for a pretty good walkthrough: [How to use Date Range filter in Kibana?](https://discuss.elastic.co/t/how-to-use-date-range-filter-in-kibana/194751/2)

Regards,  
Aaron

---

<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: [February 3, 2021, 4:50pm UTC](https://discuss.elastic.co/t/changing-time-filter-to-consider-only-dates/260363/3 "2021-02-03T16:50:53Z")

</div>

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