> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/product-suite/admin/databox-examples/time-of-day.md).

# Time of day

Helpful if you wish to apply a rule based on certain times of the day. For example changing the priority between the hours 4pm and 8pm.&#x20;

Conditional Expression (for normal working hours. (08:00 – 16:59)):

**AsDate Format(‘HH’) AsNum Between(8,16)**

<figure><img src="/files/AMf5M9gyh24CqFKI9FjP" alt=""><figcaption></figcaption></figure>

Please note, for the time slot between 9am and 10am the expression would be as follows:

**AsDate Format("HH") AsNum between (9,9)**

For half hours use the following:

**AsDate Format("HHmm") AsNum between (0800,1530)**
