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?