# Search contacts date/datetime/int fields with = and \<=,\>=,=,\>,\< operators

**URL:** https://forum.mautic.org/t/search-contacts-date-datetime-int-fields-with-and-operators/15725
**Category:** Ideas and Feature Requests
**Created:** [August 19, 2020, 8:17pm UTC](https://forum.mautic.org/t/search-contacts-date-datetime-int-fields-with-and-operators/15725 "2020-08-19T20:17:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)
#### Post date: [August 19, 2020, 8:17pm UTC](https://forum.mautic.org/t/search-contacts-date-datetime-int-fields-with-and-operators/15725/1 "2020-08-19T20:17:59Z")

</div>

My idea is:

be able to do searches like this:  
last\_active=\>2020-08-19  
some\_date\_field\<=2020-08-19  
some\_datetime\_field\<2020-08-19 14:24:32  
some\_numeric\_field\<5

I think these groups of people would benefit from this idea:  
People needing to take one time actions on contacts based on those operators.

Why I think they would benefit from this idea:  
Because creating segments and campaigns to perform actions on large sets of contacts is a pain now.

PS: this would not be useful unless this is done too:

> [@Select All Results on contacts list search result](https://forum.mautic.org/t/select-all-results-on-contacts-list-search-result/15723):
>
> My idea is: Select All Results on contacts list: I think an ability to select the entire result set of a contact search then taking actions on them like it already allows to do. For a result set of 5000 contacts theres no quick and easy way to apply the actions you can apply to a single page of contact results. I think these groups of people would benefit from this idea: Anyone that wants to add contacts to segments and other actions based on a contact search result. Because creating segmen…

Any code or resources to support this idea:  
No

Are you willing to work on this idea?:  
Maybe

What skills and resources do you need to explore this further?  
I’m not sure I have to find the current contact search code area of Mautic.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 20, 2020, 2:28pm UTC](https://forum.mautic.org/t/search-contacts-date-datetime-int-fields-with-and-operators/15725/2 "2020-08-20T14:28:17Z")

</div>

There was a segment tester plugin with similar functionality:  
[https://libraries.io/packagist/kuzmany%2Fmautic-extendee-tools-bundle](https://libraries.io/packagist/kuzmany%2Fmautic-extendee-tools-bundle)
