Working out how many hours have pasted from 1 time to anther
Posted: Tue Aug 05, 2003 7:21 am
I need a way of working out how many hours have pasted from to diffrents times and data. eg
2003-07-05 12:00:00 PM
till
2003-08-05 16:00:00 PM
From those date i can work out that 28 hours have passed but I need to work this out using php. So i either need an easy way to work out the diff of 2 dates or i need 2 be able to break down the dates into Days and hours so I can count them up but i'm really clueless.
2003-07-05 12:00:00 PM
till
2003-08-05 16:00:00 PM
From those date i can work out that 28 hours have passed but I need to work this out using php. So i either need an easy way to work out the diff of 2 dates or i need 2 be able to break down the dates into Days and hours so I can count them up but i'm really clueless.