> For the complete documentation index, see [llms.txt](https://v5docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v5docs.keyfax.biz/reference/expression-reference/date-expressions.md).

# Date expressions

Functions that treat the databox value as a date: comparing it, shifting it, taking it apart, and formatting it for a message.

Use these rather than the comparison operators. `<` and `>` compare text, which happens to work for some date formats and silently fails for others; `After`, `Before` and `BetweenDates` compare dates.

Dates are read in UK format, and any time part is ignored when dates are compared.
