Raised This Month: $ Target: $400
 0% 

Adding days, hours, seconds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-25-2012 , 19:15   Re: Adding days, hours, seconds
Reply With Quote #3

Quote:
Originally Posted by Liverwiz View Post
seconds = get_systime()
Minutes = seconds / 60
hours = Minutes / 60
days = hours / 24

if that doesn't help you. go to request.
You will want to rethink that . . .

I do it this way:

PHP Code:
new days seconds 86400
new hours seconds 86400 3600
new minutes seconds 3600 60
new seconds seconds 60 
__________________
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 06:16.


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