I have a date, let's say 2016-01-20 00:00:00. I want to add 1 month to the date, but not in the way that will end me up with 2016-02-20 00:00:00, instead I want it to be on month later on the same week day so basically 2016-02-17 00:00:00.
How can I do that?
EDIT: I basically want it to do the same thing as google calendar can, where you can select, when adding a new date and setting on repeat, you can select either repeat on the 4th monday or repeat on the 26th of that month. I want to know how i can do the first option to a date