models/classes/runner/time/QtiTimer.php
public function getLastRegisteredTimestamp()
    {
        $points = $this->timeLine->getPoints();
        $length = count($points);
        $last = false;

        if ($length) {
            $last = end($points)->getTimestamp();
        }
        
        return $last;
    }
public function getLastRegisteredTimestamp()
    {
        $points = $this->timeLine->getPoints();
        $length = count($points);
        $last = false;

        if ($length) {
            $last = end($points)->getTimestamp();
        }
        
        return $last;
    }
Gets the last registered timestamp
@return bool|float $timestamp Returns the last timestamp or false if none