

<!-- Paste this code into an external JavaScript file named: dateDisplay.js.js  -->



/* This script and many more are available free online at

The JavaScript Source :: http://javascript.internet.com

Created by: Lee Underwood :: http://javascript.internet.com/ */



function displayDate() {

  var now = new Date();

  var today = now.getDate();

  var month = now.getMonth();

    var monthName = new Array(12)

      monthName[0]="January ";

      monthName[1]="February ";

      monthName[2]="March ";

      monthName[3]="April ";

      monthName[4]="May ";

      monthName[5]="June ";

      monthName[6]="July ";

      monthName[7]="August ";

      monthName[8]="September ";

      monthName[9]="October ";

      monthName[10]="November ";

      monthName[11]="December ";

  var year = now.getFullYear();



  document.write(monthName[month]+today+ ", "+year);

}
















