I\'m creating a function that converts given seconds to duration with given format. My example code is
$format = "HHr(s) iMin(s); $seconds = 3600; echo C