Accepted answer
//REM: Now
var tMonday = new Date();

//REM: Take off the current weekday to get sunday
//REM: Be aware of how to handle sundays here, since those are zero
tMonday.setDate(tMonday.getDate() - tMonday.getDay());

//REM: Add a day to get monday
tMonday.setDate(tMonday.getDate() + 1);

//REM: Now we can create a loop of six until sunday
for(var i=0; i<6; i++){
    new Date(tMonday.setDate(tMonday.getDate() + 1))

Related Query

More Query from same tag