I have a date array. I want to add 20 seconds to each of the elements in the array. I tried
for(int i=0i<20;i++)
{
date1[i]=date1[i].gettime()+20;
}
This gives a long int value. But what i need is time format result.My question is it possible to add seconds using built in functions or manual function should be written for the same.