|
stupid php time conversion question
not really php even but it will attract the right people i hope:
3600 seconds is 1 hour so i want to display the hours its 3600/3600 = 1
7200 is 2 hours 7200 / 3600 = 2
7260 is 2 hours and 1 minute but how do i calculate that?
10740 for example is 2:59 ..
|