trovi un esempio nel manuale.

http://it2.php.net/manual/it/function.microtime.php