microtime

PHP 4, PHP 5, PHP 7, PHP 8
microtime - Return current Unix timestamp with microseconds

Example #1 Timing script execution

PHP Version:

Example #2 microtime and REQUEST_TIME_FLOAT

PHP Version:


Example #3 of microtime

PHP Version:


Function microtime:

Date and Time Functions

Most used PHP functions