Hi Experts
Could you point how to extract date/ time dd/mm/yyyy hh:mm:ss from this Carbon object?
$dt = json_encode($answer->answeredUser->created_at);
// Results in:
{"date":"2020-04-15 11:17:54.000000","timezone_type":3,"timezone":"America\/Sao_Paulo"}
Open in new window
My attempt was:
$dt->date
![img003]()
And
$dt->toDateString()
With no success.
Thanks in advance