Gets an extra timestamp value in the footer.

@return \DateTime The time of the timestamp.
170144
public function getTimestamp()
    {
        if (!isset($this->data['ts'])) {
            return null;
        }

        $time = new \DateTime();
        $time->setTimestamp($this->data['ts']);
        return $time;
    }
386072
public static function getTime()
    {
        $response = self::connection()->get(self::$api_path . '/time');

        if ($response == false || is_string($response)) {
            return $response;
        }

        return new \DateTime("@{$response->time}");
    }
995535
public function getTotalSeconds()
	{
		$dt = new \DateTimeImmutable();
		$seconds = $dt->getTimestamp();
		$result = new DecimalValue( $dt->add( $this->Value )->getTimestamp() - $seconds );
		$result = $result->Add( ( $this->Value->invert ? "-" : "" ) . "0.{$this->Value->microseconds}" );
		if ( $this->Value->invert )
		{
			// $result = $result->Mul( -1 );
		}
		return $result;
	}
581993
public function getModificationTime() {

		if(false !== $this -> file -> getExists()) {

			$this -> refresh();
			
			return $this -> file -> getModificationTime();
		}
	}
1313078
public function getDOSTimestamp()
    {
        $time = getdate($this->getTimestamp());

        if ($time['year'] < 1980) {
            $time['year']    = 1980;
            $time['mon']     = 1;
            $time['mday']    = 1;
            $time['hours']   = 0;
            $time['minutes'] = 0;
            $time['seconds'] = 0;
        }

        return (($time['year'] - 1980) << 25)
               | ($time['mon'] << 21)
               | ($time['mday'] << 16)
               | ($time['hours'] << 11)
               | ($time['minutes'] << 5)
               | ($time['seconds'] >> 1);
    }
25466
public function getLastRead(): \DateTime
    {
        if ($this->caching == false) {
            return \DateTime::createFromFormat("F d Y H:i:s.", date("F d Y H:i:s.", fileatime($this->getAbsoluteFilePath())));
        }

        if ($this->lastRead == null) {
            $this->lastRead = \DateTime::createFromFormat("F d Y H:i:s.", date("F d Y H:i:s.", fileatime($this->getAbsoluteFilePath())));
        }

        return $this->lastRead;
    }
1130697
public function getTimestamp()
    {
        $timestamp = $this->runLast('date +"%Y%m%d%H%M%S"');
        $timestamp = trim($timestamp);
        $timestamp = preg_match('/^[0-9]{14}$/', $timestamp) ? $timestamp : date('YmdHis');

        return $timestamp;
    }
660225
public function getCurrentTime()
    {
        $time = $this->getFirstAttribute($this->schema->currentTime());

        return DateTime::createFromFormat($this->timestampFormat, $time)->getTimestamp();
    }
1304237
public function getTimeStamp()
    {
        if ($this->exists && !isset($this->timestamp)) {
            $this->timestamp = @filemtime($this->filepath);
        }
        return $this->timestamp;
    }
1255085
public static function getCurrentTimestamp($p_plus = null)
    {
        $datetime = new \Datetime();
        if ($p_plus !== null) {
            if ($p_plus > 0) {
                $datetime->add(new \DateInterval('PT'.$p_plus.'M'));
            } else {
                $datetime->sub(new \DateInterval('PT'.(-1*$p_plus).'M'));
            }
        }
        return $datetime->format('Y-m-d H:i:s');
    }
241026
public function getLastRefreshTimestamp()
    {
        $unixTime = Cache::get($this->cacheTimestampKey);
        
        $dateTime = new DateTime;
        $dateTime->setTimestamp($unixTime);
        
        return $dateTime;
    }
1149447
public function getModifiedAt() {
		$timestamp = filemtime($this->pathname);
		$time = new DateTime();
		$time->setTimestamp($timestamp);
		return $time;
	}
996096
public static function getDateTime()
    {
        $dt = \DateTime::createFromFormat('U.u', microtime(true));
        $dt->setTimezone(new \DateTimeZone(date('e')));

        return $dt;
    }
217444
public function getTime()
    {
        $time = $this->data->getInvoiceTime();

        if ($time instanceof \DateTime) {
            return $time->format('c');
        }

        return date('c', $time/1000); // time in ms
    }
582738
public function getTotalTime()
    {
        if (null === $this->totalTime) {
            $this->totalTime = 0;
            foreach ($this->data['actions'] as $action) {
                if (isset($action['time'])) {
                    $this->totalTime += $action['time'];
                }
            }
            foreach ($this->data['applicableCheckers'] as $applicableChecker) {
                if (isset($applicableChecker['time'])) {
                    $this->totalTime += $applicableChecker['time'];
                }
            }
        }

        return $this->totalTime;
    }
875495
private function getDumpFileFooter()
    {
        $footer = '';
        if (!$this->dumpSettings['skip-comments']) {
            $footer .= '-- Dump completed';
            if (!$this->dumpSettings['skip-dump-date']) {
                $footer .= ' on: '.date('r');
            }
            $footer .= PHP_EOL;
        }

        return $footer;
    }
955786
public function toDateTime()
    {
        $time = sprintf('%s.%06d', $this->seconds, $this->nanos / 1000);
        return \DateTime::createFromFormat('U.u', $time);
    }