Since you asked it in another thread, here is what you need
Put this function in your functions.php or bp-custom.php
* Get Age from BuddyPress date of Birth
* <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $dob_field_name :name of the DOB field in xprofile, like Dob or Date of Birth
My Name is Lenny Donatus
I am a female, i saw your profile on (buddypress.org) I became so much interested to established a relationship and business partner with you, Please kindly contact me on my email address at (email@example.com ) for more introduction and my picture.
@kirkslater Not recently active