AGE

Returns the age in years from the value supplied to the current system date.

AGE ( <date_field or date> )
  • date_field or date: A date field or value.

Note: dates in Audiences need to be formatted as either YYYY-MM-DD or MM/DD/YYYY. Entering a date as 01-02-2023 would be read as Jan-2 not 1-Feb.

Example: create a field on the CUSTOMER table that shows the current age of each customer.

AGE( [CUSTOMER.DATE OF BIRTH] )