Raised This Month: $ Target: $400
 0% 

Is there a way to do time calcualtions?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
slurpycof
Senior Member
Join Date: Nov 2004
Old 04-12-2005 , 12:25   Is there a way to do time calcualtions?
Reply With Quote #1

I want to be able to do time calculations using vault like I am doing with SQL now. In SQL I can do
Code:
TO_DAYS( NOW( ) ) - TO_DAYS( date ) >=%d
The only way that I can figure out to do this is to do
Code:
new time_stored get_vaultdata(id,time_stored) new time_now = get_systime() if(time_now - time_stored >= 2592001){ //greater than 30 days

Also, is there any way to get the timestamp of a file in the amxx directory?
slurpycof 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 09:53.


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