Indicate today's date
Indicating today's date on your page is very useful. In addition to reminding the user, it gives the impression that your
page is current.
To do this, place the following lines of code between the
<BODY> tag and the
</BODY> tag of your page where you want to indicate the date:
<SCRIPT LANGUAGE = "JavaScript">
var now = new Date();
var dayNames = new Array("sunday","monday","tuesday","wenesday","thursday","friday","saturday");
document.write("Today, we are on " + dayNames[now.getDay()] + ".");
</SCRIPT>
Discover all Webmaster tips.