Rocinante's Tech Stuff
Rocinante team member comments on issues affecting their daily coding.
Monday, November 27, 2006
PHP Timing
Posted by
Ed Eichman
list($secs, $micros) = split(" ", microtime());
$startTime = $secs + $micros;
//Do Something
list($secs, $micros) = split(" ", microtime());
$totalTime = ($secs + $micros) - $startTime;
totalTime is a decimal with seconds
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment