# Smart rules - date handling

**URL:** https://discourse.devontechnologies.com/t/smart-rules-date-handling/56998
**Category:** Feedback
**Created:** [July 1, 2020, 11:53am UTC](https://discourse.devontechnologies.com/t/smart-rules-date-handling/56998 "2020-07-01T11:53:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wladjmir](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@wladjmir](https://discourse.devontechnologies.com/u/wladjmir)
#### Post date: [July 1, 2020, 11:53am UTC](https://discourse.devontechnologies.com/t/smart-rules-date-handling/56998/1 "2020-07-01T11:53:54Z")

</div>

Hi,

in the event menu for date, we can choose variables “this hour, today…” only with “is/is not” conditions, there is a workaround to have it at least for “before/after” condition?

Thanks

---

<div class="post-metadata">

### Author: ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)
#### Post date: [July 1, 2020, 12:54pm UTC](https://discourse.devontechnologies.com/t/smart-rules-date-handling/56998/2 "2020-07-01T12:54:25Z")

</div>

E.g. you could use (not) within last x days.

---

<div class="post-metadata">

### Author: ![wladjmir](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@wladjmir](https://discourse.devontechnologies.com/u/wladjmir)
#### Post date: [July 1, 2020, 1:46pm UTC](https://discourse.devontechnologies.com/t/smart-rules-date-handling/56998/3 "2020-07-01T13:46:41Z")

</div>

yes, is the way actually i use it (last 365 days) but i don’t like it (from logical and aesthetic perspective)
