in reply to DIfference in days hours and second between dates

I would check the today parameter, this gives your results
print timeDiff('','0000-00-13 17:25:34','2013-07-03 00:00:00');
poj