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
const getDateAfterWeek = (week) => { let today = new Date(); const nextweek = new Date( today.getFullYear(), today.getMonth(), today.getDate() + 7 * week, ); return nextweek; }