Im trying to show the date of tomorrow in html with javascript. If today is "Monday" it show say "Tuesday" instead of showing the actual date and for weekends it should say "Monday"
<p>Appointments are available from next day. We can come out to you from <span id="nextDay"></span> onwards.</p>
<script>
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
var str = tomorrow.toLocaleString().substring(0,tomorrow.toLocaleString().indexOf(':')-3);
document.getElementById("nextDay").innerHTML = tomorrow.toDateString();
</script>
that code shows something like this: Appointments are available from next day. We can come out to you from Fri Oct 21 2016 onwards.
but it show just say "Friday" instead of "Fri Oct 21 2016" and the code needs adjustment to show Monday if its Saturday or Sunday.