Answers for "javascript next friday"

0

javascript next friday

var dayOfWeek = 5;//friday
  var date = new Date(2013, 10, 13);
  date.setDate(date.getDate() + (dayOfWeek + 7 - date.getDay()) % 7);
Posted by: Guest on September-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language