get start and end date of week in javascript code example
Example: get date one week from now javascript
function nextweek(){
var today = new Date();
var nextweek = new Date(today.getFullYear(), today.getMonth(), today.getDate()+7);
return nextweek;
}