Un valor numérico no bien formado encontrado

// when working with datetime php got below error, 
A non well formed numeric value encountered

// please add strtotime

// your code =>
date('H:i', '10:00');  // INCORRECT

//
date('H:i', strtotime('10:00'))); // CORRECT (add strtotime)


Zidane (Vi Ly - VietNam)