protected function collectRunAt(\SimpleXMLElement $xml, $format = 'Y-m-d H:i:s O')
    {
        $timestamp = $xml->project['timestamp'];
        $runAt = new \DateTime('@' . $timestamp);

        return $runAt->format($format);
    }
protected function collectRunAt(\SimpleXMLElement $xml, $format = 'Y-m-d H:i:s O')
    {
        $timestamp = $xml->project['timestamp'];
        $runAt = new \DateTime('@' . $timestamp);

        return $runAt->format($format);
    }
protected function collectRunAt ( \ SimpleXMLElement $ xml , $ format = 'Y-m-d H:i:s O' ) { $ timestamp = $ xml -> project [ 'timestamp' ] ; $ runAt = new \ DateTime ( '@' . $ timestamp ) ; return $ runAt -> format ( $ format ) ; }
Collect timestamp when the job ran.

@param \SimpleXMLElement $xml    clover XML object of a file
@param string            $format dateTime format

@return string
Collect timestamp when the job ran .