This content has been marked as final. Show 5 replies
why do you need to use setTimeout()? do you only want to update once? do you want to use setInterval()? anyway, try:
I now have the following and it doesn't work. what did i do wrong?
boomer = new Date();
now = new Date();
if (now.getTime() > boomer.getTime() )
diff = now.getTime() - boomer.getTime();
diff = Math.floor( (diff / 1000 ) * .09 );
field1 = diff + " boomers have turned 60 since January 1, 2006";
thank you so much!!!!!!