Here's the code I am using to add 6 months to today's current date.
It uses jQuery also. When the "6months" checkbox is checked, I want to have 6 months added to the current date and then insert it into the "Date" textbox.
var d = new Date();
Because today's date is: 2012-06-22, the date that appears in the Date textbox is this:
Hmmm... and, of course, I want it to be:
Any idea what the '0' is all about or how to correct it?