We have 1 Month, 3 Month, 6 Month, 9 Months, 1 Year Membership in dropdown list
What we where trying to do is if user select 25/06/2012 for start of membership of 9 months, we want to show him when his membership will expire like say 25/03/2013. we tried many things but it give some wrong date.
we are using jquery-ui for selection of start membership date
Regards Arshad
To add months to a JavaScript Date, use the setMonth() method. JavaScript date setMonth() method sets the months for a specified date according to local time.
I like date.js, it's a little date library that's handy for this type of thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With