I have this php code
$DayJobTime = ($JobEnd - $JobStart - $Break) * 60;
echo "$DayJobTime";
and i get the correct answer - 480 minutes, but for me show Notices "Notice: A non well formed numeric value encountered in " 3 times
JobEnd, JobStart and Break i get from datebase and it looks like this
JobEnd - 08:00:00
JobStart - 17:00:00
Break - 01:00:00
How can I fix it?