title: Getting the Monday and Friday of next week
body: <p>I need your help.</p>
  
  <p>The current code below is able to calculate a date, a week (7 days) from the given date.</p>
  
  <p>I'd like to have it amended such that it would take today's date and calculate the what the date (the Monday and Friday) will be on the following week.</p>
  
  <p>Ie. today's date is: 12/10/2014 (mm/dd/yyyy)</p>
  
  <p>The Monday of next week is: 12/15/2014</p>
  
  <p>The Friday of next week is: 12/19/2014</p>
  
  <pre><code>function nextweek() {
  
      var currentDate = new Date();
  
      var w = new Date(currentDate.getTime() + 7 * 24 * 60 * 60 * 1000);
  
      var dd = w.getDate()
  
      var mm = w.getMonth() + 1
  
      var yyyy = w.getFullYear()
  
      return mm + '/' + dd + '/' + yyyy
  
  }
  </code></pre>