# Date criterium (custom action)

**URL:** <https://community.glideapps.com/t/date-criterium-custom-action/40791>\
**Category:** Ask for Help\
**Created:** [April 16, 2022, 5:42pm UTC](https://community.glideapps.com/t/date-criterium-custom-action/40791 "2022-04-16T17:42:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wim\_De\_Coninck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wim_de_coninck/32/28179_2.png) [@Wim\_De\_Coninck](https://community.glideapps.com/u/Wim_De_Coninck)\
**Post date:** [April 16, 2022, 5:42pm UTC](https://community.glideapps.com/t/date-criterium-custom-action/40791/1 "2022-04-16T17:42:40Z")

</div>

Hi,

a very simple question : how do I set the condition in a custom action to compare my [CUSTOM\_DATE]-field to a fixed date? Somethink like if [CUSTOM\_DATA] is on or after 01/05/2022 ? (dd/mm/yyyy)

(comparing to “today” is ease, but I can’t enter a fixed date)

Wim

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [April 16, 2022, 7:24pm UTC](https://community.glideapps.com/t/date-criterium-custom-action/40791/2 "2022-04-16T19:24:53Z")

</div>

Your best bet would be to have a second column with your fixed date, whether you populate that fixed date in each row, or you use a single value column to grab that fixed date from the first row or another table and populate it across all rows, or you place the fixed date in the user profile. Then you can set up your compare to compare the two date columns.

---

<div class="post-metadata">

**Author:** ![Wim\_De\_Coninck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wim_de_coninck/32/28179_2.png) [@Wim\_De\_Coninck](https://community.glideapps.com/u/Wim_De_Coninck)\
**Post date:** [April 17, 2022, 6:08am UTC](https://community.glideapps.com/t/date-criterium-custom-action/40791/3 "2022-04-17T06:08:54Z")

</div>

OK, thanks for the suggestion!
