Sir I have these codes
$start_time=$row['start']; //2017-02-09 15:04:09.000
$stop_time=date('Y-m-d H:i:s'); //2017-02-09 16:24:22.000
$duration=$start-$starttime; // it says 2016
but i need result like this //0001:20:13
I mean I need hours in 4 digits minutes in 2 digits and second 2 digits
Please help