note 12075 added to
| From: | fgilles at free dot fr | Date: | Wed, 21 Mar 2001 13:41:31 +0000 |
| Subject: | note 12075 added to | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12631@lists.php.net to get a copy of this message | ||
extended time() function adding microseconds to Unix Timestamp:
float utime(void);
function utime()
{
$t=microtime();
$t=((double)strstr($t, ' ')+
(double)substr($t,0,strpos($t,' ')));
return $t;
}
ex:
$time = utime();
$time equals 984256845.854455
warning: doesn't work on Win32 system (see microtime() function)
http://fr.php.net/manual/ref.datetime.php