# Searching by date in Kibana

**URL:** https://discuss.elastic.co/t/searching-by-date-in-kibana/85419
**Category:** Kibana
**Created:** [May 11, 2017, 2:22pm UTC](https://discuss.elastic.co/t/searching-by-date-in-kibana/85419 "2017-05-11T14:22:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![snakonechny](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@snakonechny](https://discuss.elastic.co/u/snakonechny)
#### Post date: [May 11, 2017, 2:22pm UTC](https://discuss.elastic.co/t/searching-by-date-in-kibana/85419/1 "2017-05-11T14:22:30Z")

</div>

Hello all,

I have a general question about searching indices by date. For instance, if I have a property such as `September 3rd 1950, 00:00:00.000`, how would I search for all documents that include that date?

If I try `DateOfBirth: "September 3rd 1948, 00:00:00.000"`, this error comes back:  
`Discover: Invalid format: "September 3rd 1948, 00:00:00.000"`

Any help would be much appreciated!

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [May 11, 2017, 4:39pm UTC](https://discuss.elastic.co/t/searching-by-date-in-kibana/85419/2 "2017-05-11T16:39:41Z")

</div>

One way of accomplishing this would be to find a document that has the date you'd like to search, then expand the document and click on the magnifying glass with the plus icon.

Or, you can search in the query bar using the [Lucene query syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html):

`DateOfBirth:1950-09-03`

Alternatively, assuming you have configured that as the time field for the index pattern, you can select this date range in the timepicker.

---

<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: [June 8, 2017, 4:50pm UTC](https://discuss.elastic.co/t/searching-by-date-in-kibana/85419/3 "2017-06-08T16:50:41Z")

</div>

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