time function

 
hi,

let's say I have

time= Time[0];

and now I want to add 5 minutes in this variable time. How I do add time into time? my purpose is to print an object before Time[0].

thanks a lot,,,
 
brspMA:
hi,

let's say I have

time= Time[0];

and now I want to add 5 minutes in this variable time. How I do add time into time? my purpose is to print an object before Time[0].

thanks a lot,,,

time += PERIOD_M5;
 
I don't think that that would work, andrewk. any other clue?

thank,,,
 
brspMA:
I don't think that that would work, andrewk. any other clue?

thank,,,
No, it's wrong. Here is right

time= Time[0]; //  time in seconds since 1970
time += 5*60;// 5 minutes , 60 seconds in one minute