I was Google's timestamps, timers, and something related to time and Java. I just can't get anything to work for me.
I need a timestamp to control the while loop, like the pseudo code below
while(true)
{
while(mytimer.millsecounds < amountOftimeIwantLoopToRunFor)
{
dostuff();
}
mytimer.rest();
}
Any ideas what data type I could use; I tried Timestamp but didn't seem to work.
Thanks Ciarán
source
share