UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

View the age of a member

Fagault Eric · ·
5:45 PM Sunday, 27 May 2018
None
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
The replies under this section are restricted to logged in users or users with an active subscription with us