Hello,
In a module, I would like to display the age of the member, for that I use:
$genderAge = $profile->getFieldValue('BIRTHDAY');
But in this case, of course, I display the day, the month and the year.
I tried
JFactory :: getDate($genderAge) ->format('Y');
But that does not work.
Do you have an idea.
Best regards.
Eric