public static function sec2time($seconds) 
    {
        $sec = intval($seconds);
        $dtF = new \DateTime("@0");
        $dtT = new \DateTime("@$sec");
        return $dtF->diff($dtT)->format('%a days, %h hours, %i minutes and %s seconds');
    }