surendran,
PHP time functions are too overwhelming to me.
Since this is a MySQL forum, I suggest to just
calculate your time total by MySQL select statement and format.
Like this:
SELECT SUM(DATE_FORMAT(fieldname, '%H:%i:%s')) as alias;
regards,
John M
|