1
Galley,
I’m having a problem turning database dates to be displayed 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
And by returning the value as follows
$objReturn['DADOS'][$key]['DATA_NASCIMENTO'] = $value[DATA_NASCIMENTO];
The result on screen is this
That is to say in the bank, the information is saved correctly.
I think my problem is the way I format this date in PHP.
Does anyone have any suggestions?
Thanks! It did work. Thanks
– Rafael Weber