Hello Muhammad,
In JavaScript you can add months to a certain date, using the
datejs library, as following:
var yourDate = new Date(2014, 9, 1); // today
var xMonthsInFuture= new Date(jan312009).add(x).month();
For details, you can check out
this article.
Please let me know if this worked for you.
Thank you,
Cornel
Cornel Croitoriu - Senior Software Developer
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

