Age(
date:date,
[string:units]
)
→ int
| yyyy | Years |
| q | Quarter years |
| m | Months |
| y | Days |
| d | Days |
| w | Whole weeks |
| ww | Calendar weeks (number of Sundays) |
| h | Hours |
| n | Minutes |
| s | Seconds |
Returns the difference between the the current date and the supplied dates, expressed as units (defaults to days).
Example:
Output(Age("2021-01-01"))
--> 1158