how do i add a month to my date constant?
my variable receives an input with the date format I want to take this variable and each click add an extra month to it
I've tried using the gets and sets and nothing so far, like this : .getMonth()
I solved it, I created a function and added a stepUp that when I click on the button it adds days and it looks like this for example:
function dateFunction() { document.getElementById("myDate").stepUp(30); }