# Display Rules based on 2 Date Fields

**URL:** <https://forums.knack.com/t/display-rules-based-on-2-date-fields/11940>\
**Category:** Feature Requests\
**Created:** [January 24, 2022, 10:31pm UTC](https://forums.knack.com/t/display-rules-based-on-2-date-fields/11940 "2022-01-24T22:31:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jennifer](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@Jennifer](https://forums.knack.com/u/Jennifer)\
**Post date:** [January 24, 2022, 10:31pm UTC](https://forums.knack.com/t/display-rules-based-on-2-date-fields/11940/1 "2022-01-24T22:31:32Z")

</div>

I love the Display Rules and use them often to highlight dates. I could not find, however, a way to set a Display Rule on a date field compared to another date field. It would be very helpful if we could highlight a date based on another custom field (e.g. expiration date of a policy vs. completion date of a project) to determine if a project is tracking an early completion, or if a policy will need to be extended to accommodate a completion date that is delayed. I’m sure there are other uses in different businesses where this would be helpful. Thanks!

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [January 25, 2022, 4:48am UTC](https://forums.knack.com/t/display-rules-based-on-2-date-fields/11940/2 "2022-01-25T04:48:46Z")

</div>

Hello Jennifer,

you can use an equation field to compare two date fields. and then use that new field in the display rule.

Regards,  
Sunny Singla
