John try the following code.
Javascript is case sensitive. This means that the variable curDate and CurDate are different variables.Code:<script type="text/javascript"><!-- var now = new Date(); var Weekday = new Array("SUN","MON","TUE","WED","THU","FRI","SAT"); var Month = new Array("JAN","FEB","MAR","APR","MAY","JUN ","JUL","AUG","SEP","OCT","NOV","DEC"); document.write(Weekday[now.getDay()]+", "+Month[now.getMonth()]+" "+now.getDate()+", "+now.getFullYear()); //--></script>
Bookmarks