function monthDiff(d1, d2) {
var months;
months = (d2.getFullYear() - d1.getFullYear()) * 12;
months -= d1.getMonth();
months += d2.getMonth();
return months <= 0 ? 0 : months;
}
var currentDate = new Date();
var expiryDate = new Date();
expiryDate.setMonth(expiryDate.getMonth() + 3);
console.log(currentDate);
console.log(expiryDate);
//$uj@y
("0" + (this.getMonth() + 1)).slice(-2)
var newDate = new Date(date.setMonth(date.getMonth()+8));
var jan312009 = new Date(2009, 0, 31);
var eightMonthsFromJan312009 = jan312009.setMonth(jan312009.getMonth()+8);
//$uj@y