Timecurrent sum question
TimeCurrent() - (15 * 60)
TimeCurrent() returns you the number of seconds since the first second of 1970. So if you subtract 15 minutes worth of seconds you will move 15 minutes into the past.
_15mAgo=TimeCurrent() - (15*60);
bonechair:
Hi
How do you make datetime past = TimeCurrent(); minus 15 minutes?
Do it in a readable way . . .
datetime past = TimeCurrent() - (PERIOD_M15 * 60);
thanks
Hi
How do you make datetime past = TimeCurrent(); minus 15 minutes?