Gets file modification time

@param void
@return int The time the file was last modified
979351
public function filemtime()
	{
		if ($this->use_include_path) {
			return filemtime(stream_resolve_include_path($this->_fhandle));
		} else {
			return filemtime($this->_fhandle);
		}
	}
68023
def get_content_modified_time(cls, abspath):
        
        stat_result = os.stat(abspath)
        modified = datetime.datetime.utcfromtimestamp(
            stat_result[stat.ST_MTIME])
        return modified
1023559
public function getLastModified()
	{
		if (is_null($this->lastModified)) {
			$this->lastModified = new \DateTime('@' . filemtime($this->path));
		}
		return $this->lastModified;
	}
742672
def last_modified_time(path):
    
    return pd.Timestamp(os.path.getmtime(path), unit='s', tz='UTC')
407369
public function getAssetFileLastModified()
    {
        if ($this->isAssetFilePathUrl()) {
            if (
            //Retrieve headers
                    ($aHeaders = get_headers($sAssetFilePath = $this->getAssetFilePath(), 1))
                    //Assert return is OK
                    && strstr($aHeaders[0], '200') !== false
                    //Retrieve last modified as DateTime
                    && !empty($aHeaders['Last-Modified']) && $oLastModified = new \DateTime($aHeaders['Last-Modified'])
            ) {
                return $oLastModified->getTimestamp();
            } else {
                $oCurlHandle = curl_init($sAssetFilePath);
                curl_setopt($oCurlHandle, CURLOPT_NOBODY, true);
                curl_setopt($oCurlHandle, CURLOPT_RETURNTRANSFER, true);
                curl_setopt($oCurlHandle, CURLOPT_FILETIME, true);
                if (curl_exec($oCurlHandle) === false) {
                    return null;
                }
                return curl_getinfo($oCurlHandle, CURLINFO_FILETIME) ? : null;
            }
        } else {
            \Zend\Stdlib\ErrorHandler::start();
            $iAssetFileFilemtime = filemtime($this->getAssetFilePath());
            \Zend\Stdlib\ErrorHandler::stop(true);
            return $iAssetFileFilemtime ? : null;
        }
    }
1269245
public function modified($file, $rev=NULL, $type='sandbox')
	{
		$result = $this->metadata($file, false, false, true, $rev, $type);
		return strtotime($result['modified']);
	}
877923
def modified_on(self):
    """"""
    timestamp = self._info.get('lastModifiedTime')
    return _parser.Parser.parse_timestamp(timestamp)
46078
public function getLastModified()
    {
        if ($this->lastModified)
        {
            return $this->lastModified;
        }

        return $this->lastModified = $this->isRemote() ? null : $this->files->lastModified($this->absolutePath);
    }
867849
private static function getTemporaryFile() {
        if(is_callable(self::$temp)) {
            $temporaryFile = @call_user_func(self::$temp);
            if(is_string($temporaryFile) && strlen($temporaryFile) && is_writable($temporaryFile)) {
                return $temporaryFile;
            }
        }
        $temporaryDirectory = (is_string(self::$temp) && strlen(self::$temp)) ? self::$temp : sys_get_temp_dir();
        return tempnam($temporaryDirectory, 'Zip');
    }
426262
public function getLastModified()
	{
		$mtime = 0;
		
		foreach($this->instrumentors as $instrumentor)
		{
			$mtime = max($mtime, filemtime((new \ReflectionClass($instrumentor))->getFileName()));
			
			if($instrumentor instanceof CachingInstrumentorInterface)
			{
				$mtime = max($mtime, $instrumentor->getLastModified());
			}
		}
		
		return (int)$mtime;
	}
916258
public function getTotalExecutionTime()
    {
        return array_reduce(iterator_to_array($this->getCommands()), function ($time, $value) {
            $time += $value['executionTime'];

            return $time;
        });
    }
1294559
public function getLastUpdate()
    {
        $time = filemtime($this->parser->getFile());
        if ($time === false) {
            return new DataBackendException(
                "Could not read modification time from {$this->parser->getFile()}"
            );

        }
        return $time;
    }
690221
public function getFilemtimeMetadata($file, $default = 0)
    {
        $this->readMetadataFile();

        return isset($this->metadata[$file]['mt']) ? $this->metadata[$file]['mt'] : $default;
    }
484795
def last_modified(self):
        """"""
        # FIXME: Make this sensible
        last_modified = time.strftime(
            "%a, %d %b %Y %H:%M:%S GMT",
            time.gmtime(time.time()))
        return last_modified
996900
private function getCurrentTime()
    {
        list ($msec, $sec) = explode(" ", microtime());
        return (float)$msec + (float)$sec;
    }
729091
public function getLastModified()
	{
		if ($this->lastModified == null) {
			$this->requestHead();
		}
		return $this->lastModified == null ? new \DateTime() : $this->lastModified;
	}
349650
public function modifiedTime($remoteFile, $format = null)
    {
        $time = $this->ftp->mdtm($remoteFile);

        if ($time !== -1 && $format !== null) {
            return date($format, $time);
        }

        return $time;
    }