# Issue with custom filter "between" range

**URL:** <https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684>\
**Category:** Get Help\
**Created:** [September 1, 2021, 7:43am UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684 "2021-09-01T07:43:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sladerose](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/sladerose/32/7333_2.png) [@sladerose](https://forum.adalo.com/u/sladerose)\
**Post date:** [September 1, 2021, 7:43am UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684/1 "2021-09-01T07:43:25Z")

</div>

The custom filter variable of “between” is not working as intended.

I have two components, a “date from” and a “date to” that I use to filter a date range. However, the “to date” end of the date range isn’t showing values that reflect on the same date.

For example, if a record is created on 1 September, and the date range is 1 August - 1 September 2021, it does now show the value. But if I set the range from 1 September to 1 October then it shows up.

Please can someone assist?

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [September 1, 2021, 8:28am UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684/2 "2021-09-01T08:28:00Z")

</div>

Hi @sladerose ,

Maybe you can change between operator to greater than or equal and less than or equal, it has the same effect.

---

<div class="post-metadata">

**Author:** ![sladerose](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/sladerose/32/7333_2.png) [@sladerose](https://forum.adalo.com/u/sladerose)\
**Post date:** [September 1, 2021, 11:56am UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684/3 "2021-09-01T11:56:17Z")

</div>

![Screenshot 2021-09-01 at 13.55.16](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/5a5f1454111141e7a8abeac0b47832470cde0640.jpeg)

Add you can see, it’s for the date picker component. The only options are before, after, and between.

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [September 1, 2021, 2:15pm UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684/4 "2021-09-01T14:15:28Z")

</div>

For this case, you might want to add 2 more properties in users collection as temporary variables and update them using button.

first temporary variable would be first date picker minus 1 minute (1/1440), and second variable would be plus 1 minute.

These temporary variables which are accessed through logged in user will replace your date picker in the custom filter.

Another suggestion, you can use form to ask for date using those temporary variables, with this you can pre-filled the date as you want.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 11, 2021, 2:16pm UTC](https://forum.adalo.com/t/issue-with-custom-filter-between-range/16684/5 "2021-09-11T14:16:03Z")

</div>

Closed on September 11, 2021, 2:16pm UTC

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