> 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/after.md).

# After

Returns `True` when the date in the databox falls after the date given. Any time part is ignored.

| Expression                        | Databox value        | Result | Notes                                       |
| --------------------------------- | -------------------- | ------ | ------------------------------------------- |
| `After("14-10-2010")`             | `15-10-2010 08:00pm` | `True` | The time is ignored                         |
| `After(DateAdd(Today,-1,'yyyy'))` | `15-10-2020 08:00pm` | `True` | Whether the date falls within the last year |

The second example is the useful pattern: rather than a fixed date, work one out from today with [DateAdd](/reference/expression-reference/date-expressions/dateadd.md).

A date written as text is converted automatically, so there is no need for an `AsDate` in front.

Use this rather than `>`, which compares the text and not the date. See also [Before](/reference/expression-reference/date-expressions/before.md) and [BetweenDates](/reference/expression-reference/date-expressions/betweendates.md).
