Raised This Month: $ Target: $400
 0% 

Next Friday Date


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-21-2013 , 18:06   Re: Next Friday Date
Reply With Quote #6

Using floatround_floor for division is the same as integer division. I.e. you can simply do: "( curTime % 604800 ) / 86400"

Also, the code will break after February 29th, 2016 due to leap years.
__________________

Last edited by fysiks; 07-21-2013 at 21:21. Reason: typo
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:23.


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