date problem in javascript
<p>I've a problem with date in Javascript.
I need to increase by 1 day a date and I'm using this:</p>

<pre><code>var myDate = new Date();
myDate.setDate(myDate.getDate() + 1);
</code></pre>

<p>but when is the 30th of june the increased date will be the 31th of june and not the 1st of lst of july.</p>

<p>how can I obtain a correct increased data???</p>
