Take a look at the code below:
$t=77; date("H:i:s", $t);
He returns
21:01:17
The correct result, of course, should be something like 00:01:17.
The value of $ t is indeed the value in seconds returned by the GData API, trought($videoEntry->getVideoDuration()) .
How can I fix this problem?
source share