<!--SHORT DATE CALENDAR--> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2005, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- var month = new Array("01","02","03","04","05","06","07","08","09","10","11","12"); function print_date() { today = new Date(); date = today.getDate(); month = month[today.getMonth()]; document.form1.theYear.value = today.getFullYear(); year1 = document.form1.theYear.value; year = year1.substring(2,4); document.write(date + "/" + month + "/" + year); } // For those wanting US settings with the Month preceding the Date, // just change the words in the code at left, i.e put date where // month is and month where date is without changing anything else. // --> </script> <!-- This goes into the BODY of the file wherever you want to have the date printed --> <form name="form1"><input type="hidden" name="theYear" /></form> <script language="JavaScript" type="text/javascript"> <!-- print_date(); //--> </script>