# IF THEN ELSE with Dates

**URL:** <https://community.glideapps.com/t/if-then-else-with-dates/13732>\
**Category:** Report a Bug\
**Created:** [August 8, 2020, 7:02am UTC](https://community.glideapps.com/t/if-then-else-with-dates/13732 "2020-08-08T07:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [August 8, 2020, 7:02am UTC](https://community.glideapps.com/t/if-then-else-with-dates/13732/1 "2020-08-08T07:02:46Z")

</div>

Options when using “ON OR BEFORE” or “ON OR AFTER”  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/b61b6f29a8a0b930ff9fcdeee6eea4c4685f9c05.png)

Options when using “BEFORE” or “AFTER”  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/957dcd2b89869ccac525f3dbed7369e01caf0e32.png)

Can fields available in both the options be the same?  
I am not able to compare 2 dates because of this limitation.
