Possible Duplicate:
MySQL convert timediff output to day, hour, minute, second format
I have a simple query which calculates time difference between two datetime as below:
SELECT TIMEDIFF( '2012-08-19 08:25:13', '2012-07-19 18:05:52' );
Output: 734:19:21
The output is in hours:min:sec. However I want the output to be formatted as:
days:hours:min:sec
How can I format the output?