How to add no of months to a date??
var newDate = new Date(yourdate);<BR>var x = 5;<BR>newDate.setMonths(newDate.getMoths() + x);<BR>// 5 months are now added to your date.<BR><BR>Hope this helps.<BR>Bart.
what happens if i have 10 in the month part of my date and i add 10 more to that. it does not increment the year and set the months accordingly in that case ...<BR><BR>
Hey that works. Thnaks for your help<BR><BR>