system/Database/Query.php
public function getDuration(int $decimals = 6): string
	{
		return number_format(($this->endTime - $this->startTime), $decimals);
	}
public function getDuration(int $decimals = 6): string
	{
		return number_format(($this->endTime - $this->startTime), $decimals);
	}
Returns the duration of this query during execution, or null if
the query has not been executed yet.

@param integer $decimals The accuracy of the returned time.

@return string