private function getModifiedTime(SplFileInfo $file) { $dt = new \DateTime(); $dt->setTimestamp($file->getMTime()); return $dt->format(\DateTime::ISO8601); }