microtime() to seconds or hours or minutes conversion
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?