View Single Post
Old 01-17-2006, 07:14 AM  
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
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 ..
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote