lets say i have two input, date 1 and date2 somehow i need the difference in seconds
Thu, 26 May 2011 11:40:00 +0000
Thu, 26 May 2011 11:39:40 +0000
===============================
120 minutes x 60 + 20 seconds
or
Thu, 26 May 2011 11:40:00 +0000
Thu, 25 May 2011 11:39:40 +0000
===============================
120 minutes + 24 hours ( one day ) / 60x24 = 1440 minutes
= 1560 minutes x 60 + 20 seconds
so on..
how can we do something like above using php?
*edit forgot about the secs.
Thanks for looking in!.
Adam Ramadhan