I am using the code below to display a date 7 days in the future. However this javascript code formats the date by mm/dd/yyyy.
I would like to modify the javascript
Date has a getDay() method which returns a day number, starting with Sunday on 0 and continuing with Monday=1, Tuesday=2 and so on.
You can use that to return just the week day. See How to get the day from a particular date using JavaScript and similar questions.
document.write(["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][myDate.getDay()]);