Hi Can anyone tell me a script to find the diff between tow time i.e if time1 is 8:00 and time2 is 10:30 then i want theanswer to be 2:30
Do these times have a date attached to them? Are are they assumed the same date? IS that AM or PM? Anyway, just [man]strtotime[/man] both of them, then do the math.
Additionally, you could probably just explode() them and calculate.
same date is assumed & the time is 1,2,...13,14.. So no am pm needed.