Here is my problem.
in c# i can do this using this:
DateTime.Now.AddMonths(12);
But i don’t know how to do it in JavaScript/jQuery, any ideas ? i’m trying google it, but i only found Converts …. (any tip in how i can search this, will help me too)
Thanks in advance.
PS: I Found this: A couple of classes featuring the same utilities that .NET classes do. , but, can i only achieve this with one “plugin” ?
Obviously 12 is a bit of a silly example, since it’s a whole year…
Oh, and if your new month doesn’t have enough days for the old day of month, that then wraps around too, so you have to be careful. For instance: