@bjoern__koth may think of using
The dateDiff function is used to retrieve the difference between two dates in the number of days.
Syntax
{%= dateDiff(datetime,datetime) %
have something like below for expression
DateDiff(Years, profile.personalDetails.dateOfBirth, Now())