# Lucene Query Language using now date time

**URL:** <https://discuss.elastic.co/t/lucene-query-language-using-now-date-time/275579>\
**Category:** Kibana\
**Created:** [June 10, 2021, 1:36pm UTC](https://discuss.elastic.co/t/lucene-query-language-using-now-date-time/275579 "2021-06-10T13:36:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sam3546](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam3546/32/79281_2.png) [@sam3546](https://discuss.elastic.co/u/sam3546)\
**Post date:** [June 11, 2021, 8:54am UTC](https://discuss.elastic.co/t/lucene-query-language-using-now-date-time/275579/3 "2021-06-11T08:54:10Z")

</div>

Thanks for the response @devon.thomson and the link, I read the article linked and tried it out and it does work fine in KQL but i have not been able to get it to work in Lucene. Any other format than

```auto
date.field >= "now-1d/d+11h"

```

and it errors and that format above does not return any results. I am running Elastic/Kibana 7.9 which could be unsupported?

Im having to use Lucene as im trying to get [Filter Ratio](https://discuss.elastic.co/t/tsvb-aggregation-filter/275477) to work which i asked a question on also.

Cheers anyway.

---

_[View the full topic](https://discuss.elastic.co/t/lucene-query-language-using-now-date-time/275579)._
