Find Person's Age In SnapLogic

Good day Community

I would kindly like your help as I am trying to find the age of a person using the snaps and functions available in SnapLogic and using their Birthdate.

Can some one help with the above?

Thank you very much in advance.

Best regards…

Here is the expression and you can pass the person’s bday dynamically.

Assuming bday field is a string:

(Date.now()-Date.parse($bday))/31556926000

Assuming bday field is a date:

(Date.now()-$bday)/31556926000

Hi Alan,

Thanks so much. Appreciate it!