JProfiler/getmicrotime
From Joomla! Documentation
< API16:JProfiler
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Get the current time.
Syntax[edit]
static getmicrotime()
Returns[edit]
float The current time
Defined in[edit]
libraries/joomla/error/profiler.php
Importing[edit]
jimport( 'joomla.error.profiler' );
Source Body[edit]
public static function getmicrotime()
{
list($usec, $sec) = explode(' ', microtime());
return ((float)$usec + (float)$sec);
}
Examples[edit]
Code Examples[edit]