Does anyone know how can I get next week date based on this week date? example if I have this thursday date (25/6/2009) how can I use javascript to get next thursday date (2
An even more straightforward solution is
let nextWeek = new Date() nextWeek.setDate(nextWeek.getDate() + 7)
Note that it preserves the current time of day.