
 <!-- 

        /*   Title:		Date Script
             Author:		Robert Herst
             Date:		03/12/2002
             Contact:		rherst@d95design.com
	     Website:		http://www.d95design.com
        */
	var now = new Date();

        // Modify the variables days/months to display in the format
	// you wish (eg.  01-12/January-December/Jan-Dec or Sun/Sunday)
	
	var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
	var months = new Array('01','02','03','04','05','06','07','08','09','10','11','12');

	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

	function longyear(number)
	{
		return (number < 1000) ? number + 1900 : number;
	}
	
	// Sample date formats
	// Today 1 format = YYYY.MM.DD
	today1 =  (longyear(now.getYear())) + "." +
	months[now.getMonth()] + "." +	date;	

	// Today 2 format = MM-DD-YYYY
	today2 = (date + "-" + months[now.getMonth()]  + "-" +
	longyear(now.getYear()));


	// Today 3 format = Day - MM/DD/YYYY
	today3 = (days[now.getDay()] + " - " + months[now.getMonth()] +
	"/" + date + "/" + longyear(now.getYear()));

	//document.write("Format 1: &nbsp;&nbsp;" +today1+ "<br>");
	document.write("Oggi &egrave; il: " +today2+ "<br>");
	//document.write("Format 3: &nbsp;&nbsp;" +today3+ "<br>");

	//  End -->

