DATE_ADD

hello,
any one here can help about adding a dates…

i try this code http://us2.php.net/date_add
but it wont fit my needs… what i mean is how to get sum of time…
ex:
22:59:00
08:00:00
07:54:00

38:53:00 <- this is what i want…

What you can do is use mktime() to convert the times to unix timestamp, add those together and then use date() to get back a readable time format.

Sponsor our Newsletter | Privacy Policy | Terms of Service