WordPress at a glance
function is not described

getid3_lib::PlaytimeString() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

String.

Usage

$result = getid3_lib::PlaytimeString( $seconds );
$seconds(int) (required)
-

Code of getid3_lib::PlaytimeString() WP 5.7.2

<?php
public static function PlaytimeString($seconds) {
	$sign = (($seconds < 0) ? '-' : '');
	$seconds = round(abs($seconds));
	$H = (int) floor( $seconds                            / 3600);
	$M = (int) floor(($seconds - (3600 * $H)            ) /   60);
	$S = (int) round( $seconds - (3600 * $H) - (60 * $M)        );
	return $sign.($H ? $H.':' : '').($H ? str_pad($M, 2, '0', STR_PAD_LEFT) : intval($M)).':'.str_pad($S, 2, 0, STR_PAD_LEFT);
}