
/* 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]="01";
      monthName[1]="02";
      monthName[2]="03";
      monthName[3]="04";
      monthName[4]="05";
      monthName[5]="06";
      monthName[6]="07";
      monthName[7]="08";
      monthName[8]="09";
      monthName[9]="10";
      monthName[10]="11";
      monthName[11]="12";
  var year = now.getFullYear();

  document.write(monthName[month]+"/"+today+"/"+year);
}
