add(new DateInterval(sprintf('P%sM', $sumOverSleepMinuite))); echo intval($date->format('H')) . "\n"; echo intval($date->format('i')) . "\n";