Class Microtime
Static class for working with microtime with sufficient precision
public static
string
|
#
now(
integer
$scale =
Get current time stamp with sufficient precision
Get current time stamp with sufficient precision Parameters
Returnsstring |
public static
string
|
#
humanReadable(
string
$microtime
)
Return microtime in humanreadable form
Return microtime in humanreadable form Parameters
Returnsstring |
public static
string
|
#
substract(
string
$leftOperand,
string
$rightOperand,
integer
$scale =
Get substrast of time stamps with sufficient precision
Get substrast of time stamps with sufficient precision Parameters
Returnsstring = $leftOperand - $rightOperand |
public static
string
|
#
sum(
array
$operands,
integer
$scale =
Sum all arguments
Sum all arguments Parameters
Returnsstring |
public static
string
|
#
divide(
string
$leftOperand,
string
$rightOperand,
integer
$scale =
Get division of time stamps with sufficient precision
Get division of time stamps with sufficient precision Parameters
Returnsstring = $leftOperand / $rightOperand |
integer
|
SCALE
|
6 |