Hello,
I’m also getting same date format with “1970-01-01”.
I have updated your code,
if($bp_fields[$data->field_id]->type == 'datebox') {
$date = new DateTime($data->value);
$data->value = $date->format($wpue_config->date_format);
But its not working, please can you see the code again please…
-
This reply was modified 7 years, 9 months ago by adityashevle.