src/Xml/XliffFile.php
public function setDate(\DateTime $date): void
    {
        $this->getFileElement()->setAttributeNS(static::XLIFF_NS, 'date', $date->format(\DateTime::ATOM));
    }
public function setDate(\DateTime $date): void
    {
        $this->getFileElement()->setAttributeNS(static::XLIFF_NS, 'date', $date->format(\DateTime::ATOM));
    }
public function setDate ( \ DateTime $ date ) : void { $ this -> getFileElement ( ) -> setAttributeNS ( static :: XLIFF_NS , 'date' , $ date -> format ( \ DateTime :: ATOM ) ) ; }
Sets the last modification time in this file.

@param \DateTime $date The date.

@return void
Sets the last modification time in this file .