# Alert Group Expression

**URL:** <https://forum.inductiveautomation.com/t/alert-group-expression/3637>\
**Category:** Ignition\
**Created:** [November 21, 2011, 7:03pm UTC](https://forum.inductiveautomation.com/t/alert-group-expression/3637 "2011-11-21T19:03:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdelgado](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jdelgado](https://forum.inductiveautomation.com/u/jdelgado)\
**Post date:** [November 21, 2011, 7:03pm UTC](https://forum.inductiveautomation.com/t/alert-group-expression/3637/1 "2011-11-21T19:03:19Z")

</div>

Hi,

I was wondering if someone can help me formatting the following expression for an email group. I need to enable the groups based on time frame (7 AM to 7PM and 7PM to 7 AM and the display path

Ex

If alarm time is between today@7:00 AM and today and@7:00PM and display path is “XXYX” this group will be enabled

Email Group 2

If alarm time is between today@7:00 PM and Tomorrow and@7:00AM and display path is “YYXY” this group will be enabled

Thanks

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 21, 2011, 7:42pm UTC](https://forum.inductiveautomation.com/t/alert-group-expression/3637/2 "2011-11-21T19:42:50Z")

</div>

Take a look [here](http://inductiveautomation.com/forum/viewtopic.php?f=70&t=7116&p=21136&hilit=timebetween#p21136).

---

<div class="post-metadata">

**Author:** ![jdelgado](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jdelgado](https://forum.inductiveautomation.com/u/jdelgado)\
**Post date:** [November 22, 2011, 4:05pm UTC](https://forum.inductiveautomation.com/t/alert-group-expression/3637/3 "2011-11-22T16:05:39Z")

</div>

Thanks Jordan.
