Time calculation in javascript
<pre><code> starttime=(new Date()).getTime();
 endtime=(new Date()).getTime();

 (endtime-starttime )/1000 
</code></pre>

<p>will give a value.What is this value and why is it divided by 1000</p>
