hankknight
asked on
JavaScript: Round timestamp by 3 seconds
alert( Math.ceil(new Date().getTime()/1000) );
This returns a timestamp, to the second. I want it rounded up to the closest 3 seconds. It should remain the same for 3 seconds then jump up 3 more seconds.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.