DMN age calculation

You could simplify the FEEL expression a bit by using the years property of the duration.

years and months duration(date(birthday), today()).years

It is an example from Temporal Samples | FEEL-Scala

3 Likes