Raised This Month: $ Target: $400
 0% 

PlayTime


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-16-2011 , 21:23   Re: PlayTime
Reply With Quote #3

Here ya go:

PHP Code:
new iTotalSeconds 1233435
new iHours iTotalSeconds 3600
new iMinutes = (iTotalSeconds 3600) / 60
new iSeconds iTotalSeconds 60 
Also, "PlayTime" is a misleading name for a function that just converts total seconds into hours minutes seconds.
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode