NOTICE A non well formed numeric value encountered code example
Example: a non well formed numeric value encountered
// 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)