adding two time values of similar formats using php

bobster890

New Member
i have two time values as give below \[code\]$time = 06:58:00;$time2 = 00:40:00;\[/code\]I am doing this for calculating the appointments and available time for a particular userso i tried in this way\[code\]$max_date=abs(strtotime($time) + strtotime($time2));\[/code\]but it is returning $max_date =2673452280any suggestions pls
 
Back
Top