How to get first and last day of the current week in JavaScript

0 votes
Today = new Date(); the object is what I have. I'm looking for the start and last day of the current week.

I require both possibilities for Sunday and Monday as the beginning and finish of the week.

I'm now perplexed by a code. Can you assist me?
Dec 12, 2022 in Java by Nicholas
• 7,760 points

edited 5 days ago 12 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP