formatSeconds
The formatSeconds will take an input time in seconds and return a formatted string in MM:SS format (if under 60 minutes) or HH:MM:SS (if over 60 minutes)
string
formatSeconds
([integer $length = 0])
-
integer
$length: Time number to format
|