get first and last date of week in month all weeks code example
Example: get current weeks first date and last date
weekdate() {
var curr = new Date();
var first = curr.getDate() - curr.getDay() + 1;
this.firstday = new Date(curr.setDate(first));
this.lastday = new Date(curr.setDate(curr.getDate() + 6));
}