Convert seconds to readable (HH:ii:ss or other) format

Uses gmdate() to convert plain seconds to different format. Read more.

php
fork add to bundle source
function second_format($seconds, $format = 'H:i:s') { return gmdate($format, $seconds); }

usage

load_function('second_format'); echo second_format(125); // 00:02:05
← how to use this in app?
create log ...inout