# `Ash.Query.Function.Ago`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/query/function/ago.ex#L5)

Subtracts the given interval or Duration from the current time in UTC.

For example:
   deleted_at > ago(7, :day)
   deleted_at > ago(Duration.new!(day: 7))

Documentation + available intervals inspired by the corresponding ecto interval implementation

# `args`

# `datetime_add`

# `has_partial_evaluate?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
