What is the microtime() Function PHP ?

What is the microtime() Function PHP ?

Hi,

What is microtime() Function in PHP? What is the role of Microtime() Function in PHP. Please suggest me any online reference.

Thanks,

View Answers

February 10, 2011 at 10:39 AM

Hi,

In PHP microtime()function will returns the current Unix timestamp with microseconds. The role of PHP microtime() function returns the string "microsec sec", where sec is the number of seconds since the Unix Epoch (0:00:00 January 1, 1970 GMT), and microsec is the microseconds part. Notice that both parts are returned in units of seconds.

Thanks,









Related Tutorials/Questions & Answers:

Ads