Javascript time plus seconds?
<p><strong>Let's say current time is 24:56:04</strong></p>

<p>And I want to do something like this:</p>

<pre><code>variable time = current time (24:56:04) + 6 seconds.

If current time = or higher than time: print 'Success'

else print 'Fail'.
</code></pre>

<p><em><strong>Is it possible to do it this way? how?</em></strong></p>

<p>The other answer does not answer my question. Because I need to know if curret time = previous time + 10 seconds.</p>
