 <blockquote> <p>Note: This method is automatically called by JavaScript whenever a Date object needs to be displayed as a string.</p> </blockquote> <p>So <code>d+''</code> is the same as <code>d.toString()</code>.</p>