microtime() to seconds or hours or minutes conversion
06:04 24 Jun 2011

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

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

How can I do in PHP?

php