# 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)**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/databox-examples/time-of-day.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
