Gets last access time.

@return DateTime
426979
public function getLastAccessedAt() {
		$timestamp = fileatime($this->pathname);
		$time = new DateTime();
		$time->setTimestamp($timestamp);
		return $time;
	}
35916
public static function getTimestamp()
	{
		$curl	= new Net_CURL( self::$url );
		$result	= $curl->exec();
		$status	= $curl->getStatus();
		if( $status['http_code'] != 200 )
			throw new Exception( "Service URL is not reachable." );
		$parts	= explode( "\n", $result );
		$date	= trim( $parts[2] );
		$time	= strtotime( $date );
		return $time;
	}
669296
public function getLastActivityAgo()
    {
        $now = \Yii::$app->formatter->asTimestamp(time());
        return (int)($now - (int)$this->last_activity_at);
    }
1207869
protected function getLastMonth() {
        if (!$this->_lastMonth) {
            $this->_lastMonth = new LastMonthList($this->version, $this->solution['accountSid']);
        }

        return $this->_lastMonth;
    }
1344562
public function getEnd(): ?\DateTimeInterface
    {
        $highest_date = null;
        foreach ($this->events as $event) {
            if (null === $highest_date || $event->getEnd() > $highest_date) {
                $highest_date = $event->getEnd();
            }
        }

        return $highest_date;
    }
182830
public com.google.api.ads.admanager.axis.v201811.DateTime getLastReservationDateTime() {
        return lastReservationDateTime;
    }
214660
public function getExecutionTime()
    {
        if(!$this->getFinishedAt()) {
            $now = new \DateTime();
            return $now->getTimestamp() - $this->getCreatedAt()->getTimestamp();
        } else {
            return $this->getFinishedAt()->getTimestamp() - $this->getCreatedAt()->getTimestamp();
        }
    }
1016131
public function getLastBackupTime()
    {
        $backups = $this->listBackups();
        if (is_array($backups)) {
            if (!empty($backups)) {
                $timestamp = $backups[0]->timestamp;

                return $timestamp;
            }

            return 'There is no backup available.';
        }

        return $backups;
    }
675100
public function lastKey()
    {
        $keys = AccessHelper::collectionKeys($this->data);

        if (empty($keys) || end($keys) === false) {
            return null;
        }

        return end($keys);
    }
600803
public function getUpTime()
    {

        // Time?
        if (!empty($this->settings['timer'])) {
            $t = new Timer('Uptime');
        }

        $booted_str = '';

        foreach ($this->wmi->ExecQuery('SELECT LastBootUpTime FROM Win32_OperatingSystem') as $os) {
            $booted_str = $os->LastBootUpTime;
            break;
        }

        $booted = array(
            'year' => substr($booted_str, 0, 4),
            'month' => substr($booted_str, 4, 2),
            'day' => substr($booted_str, 6, 2),
            'hour' => substr($booted_str, 8, 2),
            'minute' => substr($booted_str, 10, 2),
            'second' => substr($booted_str, 12, 2),
        );
        $booted_ts = mktime($booted['hour'], $booted['minute'], $booted['second'], $booted['month'], $booted['day'], $booted['year']);

        return array(
            'text' => Common::secondsConvert(time() - $booted_ts),
            'bootedTimestamp' => $booted_ts,
        );
    }
82156
public function getCanResendTime()
    {
        $key = $this->generateKey(self::CAN_RESEND_UNTIL_KEY);

        return (int) self::storage()->get($key, 0);
    }
986673
public function getFinishTime()
    {
        if ($this->hasData(OntologyDeliveryExecution::PROPERTY_TIME_END)) {
            return $this->getData(OntologyDeliveryExecution::PROPERTY_TIME_END);
        }
        return null;
    }
539683
public function getCurrentTime()
    {
        $config = $this->config;
        $time = $config->time;
        if ($time !== null) {
            if ($config->timeChanging) {
                return $this->__call('time', []) + $time;
            }
            return $time;
        }
        return $this->__call('time', []);
    }
269087
public function last()
    {
        $lastIndex = (count($this->source) - 1);
        if (isset($this->source[$lastIndex])) {
            return $this->source[$lastIndex];
        }

        return null;
    }
957080
public function getTotalElapsedTime() {
		$time = 0;
		
		foreach ($this->_profiles as $profile) {
			$time += $profile->getElapsedTime();
		}
		
		return $time;
	}
237245
public function getDuration()
	{
		$started = (is_null($this->started)) ? new \DateTime('now') : $this->started;
		$stopped = (is_null($this->stopped)) ? new \DateTime('now') : $this->stopped;

		return $started->diff($stopped);
	}
170144
public function getTimestamp()
    {
        if (!isset($this->data['ts'])) {
            return null;
        }

        $time = new \DateTime();
        $time->setTimestamp($this->data['ts']);
        return $time;
    }