/** * Get human readable time from seconds * @param int $seconds - count of seconds that come from count of seconds * @return string - human readable time (H:i) with zeros */ public static function getHumanTime($seconds) { $hrs = Dates::getTime($seconds, 'hrs'); $hrs = Support::addZero($hrs); $min = Dates::getTime($seconds, 'min'); $min = Support::addZero($min); return $hrs . ':' . $min; }