I am a rookie, I have the following date: 2010-04-19 .
I would like to convert this date to the format DD-MM-YYYY
Example, my code.
// "fecha" => $this->input->post(date("d/m/Y", strtotime('fecha'));
$usuario = array(
"nombre" => $this->input->post('nombre'),
"fecha" => $this->input->post('fecha') /YYYY-MM-DD
);