PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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.
I used that i think its working but I need 2 wait an hour! I tired just eaching $timediff and it seems more like minutes then hours so.
thanks alot tho.