Returns the current Unix timestamp with microseconds.
| <?php echo(microtime()); ?> |
The microtime() function provides the current Unix timestamp with microseconds.
| microtime(return_float); |
|
Parameter |
Description |
|
return_float |
Optional. When set to TRUE, it specifies that the function should return a float instead of a string. The default is FALSE. |
|
Return Value: |
By default, returns a string in the format “microsec sec,” where |
|
PHP Version: |
4+ |
|
PHP Changelog: |
PHP 5.0: Introduced the |