# Filtering date range does not work (combining dates in where clause)

**URL:** <https://forum.weaviate.io/t/filtering-date-range-does-not-work-combining-dates-in-where-clause/1323>\
**Category:** Support\
**Tags:** bug\
**Created:** [January 29, 2024, 4:16pm UTC](https://forum.weaviate.io/t/filtering-date-range-does-not-work-combining-dates-in-where-clause/1323 "2024-01-29T16:16:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [February 7, 2024, 7:23pm UTC](https://forum.weaviate.io/t/filtering-date-range-does-not-work-combining-dates-in-where-clause/1323/5 "2024-02-07T19:23:02Z")

</div>

Oh.

The fact that it was giving different results in 2 different servers with the same data could be an index issue.

I believe this is similar to this thread:

> [@Possible bug when use greater\_or\_equal and less\_or\_equal with text](https://forum.weaviate.io/t/possible-bug-when-use-greater-or-equal-and-less-or-equal-with-text/1370):
>
> client: python client 4.4.rc1 weavite: 1.23.7 code to reproduce the bug import weaviate from weaviate.collections.classes.config import Property, DataType, ReferenceProperty from weaviate.collections.classes.filters import Filter from base\_dependencies import load\_config client = weaviate.connect\_to\_custom( http\_host=load\_config("weaviate")["host"], http\_port=load\_config("weaviate")["http\_port"], http\_secure=False, grpc\_host="localhost", grpc\_port=load\_config("weaviate")…

Your filter basically says:

> fetch me objects from \*\* TextChunk\*\* that have references with \*\* upload\_time \>=X\*\* _while simultaneously_ having references with \*\* upload\_time \<=Y\*\* "

Let me know if this clarifies.

Thanks!

---

_[View the full topic](https://forum.weaviate.io/t/filtering-date-range-does-not-work-combining-dates-in-where-clause/1323)._
