Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Members-loop

@shanebp

Moderator

So you want to change the display format?

Get the value : $val = bp_get_member_profile_data( ‘field=the field name’ );

Then format it however you want, for example:
echo date('Y', strtotime($val) ) . ' years';

https://www.google.com/#q=php+format+existing+date

Skip to toolbar