I don't know why I'm having so much trouble with this code. I just cannot figure out how to get it to display the full day name instead of just the first three letters. I'm almost sure it can be done, but I've been staring at this code for so long that I'm really burnt out on it.

Can anyone take a look and show me where to make adjustments?

Thank you.Code:<html> <head> <title>Hanke-Henry Date and Time</title> <body onLoad="bszTime();"><center> <script language="JavaScript" type="text/javascript"> var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); var monthCodes = Array(5,1,1,4,6,2,4,0,3,5,1,3); var monNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December","Xtr"); function pad(number, length) {var padded = '' + number; while (padded.length < length) {padded = '0' + padded; }return padded;} function addCommas(nStr) {nStr += ''; x = nStr.split('.'); x1 = x[0]; x2 = x.length > 1 ? '.' + x[1] : ''; var rgx = /(\d+)(\d{3})/; while (rgx.test(x1)) { x1 = x1.replace(rgx, '$1' + ',' + '$2'); }return x1 + x2;} function dayOfWeek(year,m,d){ // Gregorian (naturally) y=year%100; c = Math.floor(year/100); if((year%4==0) && (year%100!=0 || year%400==0) && (m==1 || m==2)) isLeapJanFeb=1; else isLeapJanFeb=0; weekday = (1*d + 1*monthCodes[m-1] + 1*y + 1*Math.floor(y/4) - 2*(c%4) - 1*isLeapJanFeb) % 7; return weekday;} function extraWeekYear(start,end) {extra=0 if(start==3)extra=1; // 3 = Thursday; if a Gregorian Year begins, or ends, on a Thursday, if(end==3)extra=1; // 3 = Thursday; then the reform year has an extra week after December. return extra;} function bszTime() { // 2010 May 2 reform 11:45 today = new Date(); // today Date.prototype.getJulianFull = function() { return (this / 86400000) + 2440587.5;} julianDayFull = today.getJulianFull(); // julianDayFull (includes decimal) julianDayGMT=Math.floor(julianDayFull); // julianDayGMT ( 2453736 <- begins at noon GMT on 2005 Dec 31) UTCstring = today.toUTCString(); // 2453736.5 = midnight on 2005 Dec 31) dayOfTheWeek=UTCstring.substr(0,3) // dayOfTheWeek ESTstring = today.toString(); elapsed=Math.floor(julianDayFull-2453735.5) // number the days at Greenwich, with day 1 = 2006 Jan 1 years=2006; // these are reform years while(years>0){ dayOfWeek(years,1,1); first=weekday; dayOfWeek(years,12,31); last=weekday; extraWeekYear(first,last); // "dayOfWeek" & "extraWeekYear" assume Gregorian (that's OK!) if(extra==1)subtractor=371; if(extra==0)subtractor=364; if(elapsed<subtractor)break; // break elapsed=elapsed-subtractor; years=years+1;} // years if(elapsed<=29)newdate=elapsed; if(elapsed<=29)reformmonth=0; // Jan if(elapsed>29 && elapsed<=59)newdate=elapsed-30; if(elapsed>29 && elapsed<=59)reformmonth=1; // Feb if(elapsed>59 && elapsed<=91)newdate=elapsed-60; if(elapsed>59 && elapsed<=91)reformmonth=2; // Mar if(elapsed>91 && elapsed<=121)newdate=elapsed-91; if(elapsed>91 && elapsed<=121)reformmonth=3; // Apr if(elapsed>121 && elapsed<=151)newdate=elapsed-121; if(elapsed>121 && elapsed<=151)reformmonth=4; // May if(elapsed>151 && elapsed<=182)newdate=elapsed-151; if(elapsed>151 && elapsed<=182)reformmonth=5; // Jun if(elapsed>182 && elapsed<=212)newdate=elapsed-182; if(elapsed>182 && elapsed<=212)reformmonth=6; // Jul if(elapsed>212 && elapsed<=242)newdate=elapsed-212; if(elapsed>212 && elapsed<=242)reformmonth=7; // Aug if(elapsed>242 && elapsed<=273)newdate=elapsed-242; if(elapsed>242 && elapsed<=273)reformmonth=8; // Sep if(elapsed>273 && elapsed<=303)newdate=elapsed-273; if(elapsed>273 && elapsed<=303)reformmonth=9; // Oct if(elapsed>303 && elapsed<=333)newdate=elapsed-303; if(elapsed>303 && elapsed<=333)reformmonth=10; // Nov if(elapsed>333 && elapsed<=364)newdate=elapsed-333; if(elapsed>333 && elapsed<=364)reformmonth=11; // Dec if(elapsed>364)newdate=elapsed-364; if(elapsed>364)reformmonth=12; // Xtr document.getElementById("clock").innerHTML=(dayOfTheWeek+", "+pad(newdate,2)+" "+monNames[reformmonth]+" "+years+" - "+UTCstring.substr(17,5)); setTimeout("bszTime()", 60000);} // end of function bszTime() </script> <center> <span id="clock" size="32" style="text-align:center; font-family:verdana; color:black; font-size:12px; background-color:transparent; border:none" ></span> </body> </html>