Forum Moderators: phranque
<script language=javascript1.1>
now = new Date();
day = new Object();
month = new Object();
day[0] = "Sunday";
day[1] = "Monday";
day[2] = "Tuesday";
day[3] = "Wednesday";
day[4] = "Thursday";
day[5] = "Friday";
day[6] = "Saturday";
month[0] = "Jan.";
month[1] = "Feb.";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "Aug.";
month[8] = "Sept.";
month[9] = "Oct.";
month[10] = "Nov.";
month[11] = "Dec.";
year = now.getYear();
if (year < 1000) year += 1900;
document.write(day[now.getDay()] + ", " + month[now.getMonth()] + " " + now.getDate() + ", " + year);
</script>
Copy the code from the page here, then paste it into something like notepad...
Copy the code from notepad and paste it into your editor...
Sometimes extra HTML comes along with text copied directly from the browser into WYSIWIG editors...
Pasting the code into notepad strips all the extranious garbage out...(formating, etc) and gives you just text...
try it...