var today = new Date()
var day = today.getDay()
var month = today.getMonth()
var date = today.getDate()
var year = today.getFullYear()
var day_whole = "Sunday"
var month_whole = "January"
var hours = today.getHours() 
var minutes = today.getMinutes()
var timeValue = today.getHours()
var wholeDate = "today"

// figures
if (day == 0) {day_whole = "Sunday"}
if (day == 1) {day_whole = "Monday"}
if (day == 2) {day_whole = "Tuesday"}
if (day == 3) {day_whole = "Wednesday"}
if (day == 4) {day_whole = "Thursday"}
if (day == 5) {day_whole = "Friday"}
if (day == 6) {day_whole = "Saturday"}

 
if (month == 0) {month_whole = "January"}
if (month == 1) {month_whole = "February"}
if (month == 2) {month_whole = "March"}
if (month == 3) {month_whole = "April"}
if (month == 4) {month_whole = "May"}
if (month == 5) {month_whole = "June"}
if (month == 6) {month_whole = "July"}
if (month == 7) {month_whole = "August"}
if (month == 8) {month_whole = "September"}
if (month == 9) {month_whole = "October"}
if (month == 10) {month_whole = "November"}
if (month == 11) {month_whole = "December"}
/*

if (hours <= 12) {timeValue = "AM"}
if (hours >= 12) {timeValue = "PM"}


if (hours == 00) {hours = "12"}
if (hours >= 13) {hours = hours -12 + " "}
if (hours <= 10) {hours = " " + hours}
 

if (minutes <= 9) {minutes = "0" + minutes}
*/
//display
wholeDate = day_whole + " " + month_whole + " " + date + ", " + year /*+ " " + "@ " + hours+":"+minutes + " " + timeValue */


document.write(wholeDate)



 