Galera,
I have a problem transforming database dates to display on screen.
In my code I do the following.
$objReturn['DADOS'][$key]['DATA_NASCIMENTO'] = date('d/m/y', strtotime($value[DATA_NASCIMENTO]));
But what appears on my screen is
Andwhenreturningthevalueasfollows
$objReturn['DADOS'][$key]['DATA_NASCIMENTO']=$value[DATA_NASCIMENTO];
Theresultonscreenisthis
In other words, in the database, the information is saved correctly.
I think my problem is in the way I format this date in PHP.
Does anyone have any suggestions?