# Problems using Date/Time field as Dynamic Content filter

**URL:** <https://forum.mautic.org/t/problems-using-date-time-field-as-dynamic-content-filter/26853>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [January 25, 2023, 10:35am UTC](https://forum.mautic.org/t/problems-using-date-time-field-as-dynamic-content-filter/26853 "2023-01-25T10:35:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonasludwig](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jonasludwig/32/9099_2.png) [@jonasludwig](https://forum.mautic.org/u/jonasludwig)\
**Post date:** [January 25, 2023, 10:35am UTC](https://forum.mautic.org/t/problems-using-date-time-field-as-dynamic-content-filter/26853/1 "2023-01-25T10:35:53Z")

</div>

My Mautic version is: v4.4.3  
My PHP version is: PHP 7.4.30  
My Database type and version is: Ver 10.6.10-MariaDB

Hey guys, I have the following problem. In one of my campaigns, I send an email in which the contact can book a call. If they book within 48 hours they should be guided to a download page. If they are too late they’ll be guided to a thank you page.  
Directly after sending the email I update a date/time custom field by setting it to “now”. For the landing page, I created two dynamic content pieces (download and thank you section) that I filter by CustomField IsGraterThan/IsLessThan -48 hours.

Unfortunately, the filter is not working properly.  
I checked my testcontacts which I put in the campaign and the date/time was saved properly directly after sending the mail.  
However, the filter is not working. It seems like it doesn’t matter which time horizon I choose. Whenever I choose GreaterThan -…hours/days/etc. as filter, the dynamic content piece gets chosen. If I choose LessThan … it never gets chosen. Does anybody know how to solve this problem?

---

<div class="post-metadata">

**Author:** ![asad786](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/asad786/32/8990_2.png) [@asad786](https://forum.mautic.org/u/asad786)\
**Post date:** [February 3, 2023, 4:34am UTC](https://forum.mautic.org/t/problems-using-date-time-field-as-dynamic-content-filter/26853/2 "2023-02-03T04:34:06Z")

</div>

You can choose only greater than filter for that, so there will be no issue come.
