microtime to seconds or hours or min conversion

Viewed 104302

I have the store start time as microtime() and end time as microtime() into database.

Now I want to calculate how long the script takes the seconds/minutes/hours to execute.

How can I do in PHP?

4 Answers
Related