Quick JavaScript Assistance Needed

Job ID: 38142655

Budget: $10 – $30 USD

I urgently need a skilled JavaScript developer to assist with a project.

I am trying to call every Next Webinar: [Next Friday Date - 2PM]

I have this:
<p>Next Webinar: <span id="date"></span></p>
<script>


function getNextDay (dayName) {

// The current day
let date = new Date();
let now = date.getDay();

// Days of the week
let days = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'];

// The index for the day you want
let day = days.indexOf(dayName.toLowerCase());

// Find the difference between the current day and the one you want
// If it's the same day as today (or a negative number), jump to the next week
let diff = day - now;
diff = diff < 1 ? 7 + diff : diff;

// Get the timestamp for the desired day
let nextDayTimestamp = date.getTime() + (1000 * 60 * 60 * 24 * diff);

// Get the next day
return new Date(nextDayTimestamp);

}

let next = getNextDay('Friday');
console.log(next.getTime());
document.querySelector('#date').textContent = next;
</script>

But its showing time - I dont want time
Related categories: PHP JavaScript HTML5 HTML jQuery / Prototype