Answer the question
In order to leave comments, you need to log in
How to get the numbers of the current week, from Monday to Sunday?
How to get an array of current week numbers?
Answer the question
In order to leave comments, you need to log in
const d = new Date();
d.setDate(d.getDate() - (d.getDay() || 7) + 1);
console.log(d);
This is the last Monday, the rest of the days can be found by analogy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question