Skip to content

Get age of member or from given birthdates

24 Oct 2010

Get age of member or from given birthdates

The plugin lets you display the age of your members based on their profile data, or age of anyone actually having the year of birth provided.

Example usage:

{exp:getage member_id="{segment_3}"

You can use CURRENT_USER as member_id to get age of logged in member:

{exp:getage member_id="CURRENT_USER"

Alternative syntax:

{exp:getage year="1980" month="3" day="14"

Month and day parameter are optional and default to January 1st.

For support, please email .(JavaScript must be enabled to view this email address).

Changelog RSS

Licensing & support terms

Attachment

About

    Hello, my name is Yuri and I specialize in creating custom add-ons (plugins, modules, extensions) for ExpressionEngine CMS.
    You can reach me anytime by emailing .(JavaScript must be enabled to view this email address)