Hello everyone. Can you help me with this kind of question? I want to encrease days in date string, so code is kind like this.
var date = new Date()
date.setDate(date.getDate() + 1)
The problem is that i want to change only days without month, years or time (h m s). So, for example if i have date 31 december 2021 and i encrease day by one i want to get 01 december 2021 and not 01 january 2022. Is it possible in JS?