Add to current date with javascript and have months roll over
<p>I need to use basic javascript here and I'm not well versed with it.
I do not want to use jquery (although I would prefer it)</p>

<p>I need to get the current date via javascript, add 2 days to it, then display the new date (with the 2 additional days factored in). This means on the 30 or 31st of the month, the month needs to rollover as does the year on Dec 30/31.</p>

<p><a href="http://stackoverflow.com/questions/1531093/how-to-get-current-date-in-javascript">Thanks to this question</a> and Samuel Meadows I can get the current date. I can add 2 days no problem. But I can't work out how to get the months (and year) to rollover properly. </p>

<p>Samuel's code:</p>

<pre><code>var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1; //January is 0!

var yyyy = today.getFullYear();
if(dd&lt;10){dd='0'+dd} if(mm&lt;10){mm='0'+mm} var today = mm+'/'+dd+'/'+yyyy;

document.write(today);
</code></pre>

<p>Any assistance would be greatly appreciated.</p>

<p>Thanks!</p>
