I checked the other posts similar to this but I didn't get the answer I needed.
How do I add those words to the end of my numbers?
here's my jQuery code:
var monthNames = [ "January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December" ];
var dayNames= ["Sunday,","Monday,","Tuesday,","Wednesday,","Thursday,","Friday,","Saturday,"]
var newDate = new Date();
newDate.setDate(newDate.getDate());
$('#the-date').html(dayNames[newDate.getDay()] + " " + monthNames[newDate.getMonth()] + ' ' + newDate.getDate() + ' ' );