Date Object in javascript
<p>As we all know Javascript is a client side language , means code runs on client side and not on server side.Now what I want to know is that then how come getDate() retrives the server side value.</p>

<pre><code> var myDate = new Date();
        alert(myDate.getDate());//return current date.
</code></pre>
