i would get length video from my file video with php and getID3 library, my video's length is 00:02:03 but this output is 02:03:00, how can i change
move_uploaded_file($source,$direktori);
$durasi = getDuration($direktori);
$endtime = date('H:i:s', strtotime($durasi));
echo $endtime;
function getDuration($file){
include_once("getID3/getid3/getid3.php");
$getID3 = new getID3;
$file = $getID3->analyze($file);
return $file['playtime_string'];
}