Answer the question
In order to leave comments, you need to log in
How to make the month change when displaying tomorrow's date (now September 33)?
How, when adding several days, set the transition to the next month, since it currently displays September 33?
https://jsfiddle.net/u1jsx7bo/3/
Data = new Date();
Month = Data.getMonth();
Day = Data.getDate() + 17;
switch (Month)
{
case 0: fMonth="января"; break;
.......
case 11: fMonth="декабря"; break;
}
document.write("Завтра "+Day+" "+fMonth+" года");
Answer the question
In order to leave comments, you need to log in
First Google issue: https://stackoverflow.com/questions/563406/add-day...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question