Call to a member function format () on boolean in
$fDevolucion = DateTime::createFromFormat('d-m-Y', $Fechadevolucion);
($prestamos = $objprestamo->addprestamo($fDevolucion->format('d-m-Y'),$cliente,$libro,$observacion)){ <-- ERRO...
asked by
08.04.2017 / 19:24