microtime — Return current Unix timestamp with microseconds

microtime() returns the current Unix timestamp with microseconds. This function is only available on operating systems that support the gettimeofday() system call.

For performance measurements, using hrtime() is recommended.


Have Feedback?

Let us know how we can improve this tool.
Share Feedback