Definition
The microtime() function returns the current Unix timestamp with microseconds.
Syntax
microtime(return_float)
Parameters
Parameter | Description |
---|---|
return_float |
Optional. When set to true it specifies that the function should return a float, instead of a string. Default is false . |
Example
<?php
echo(microtime());