function updateDateTime ( )
{
	  var currentDateTime = new Date ( );

	  var currentHours = currentDateTime.getHours ( );
	  var currentMinutes = currentDateTime.getMinutes ( );
	  var currentSeconds = currentDateTime.getSeconds ( );

	  // Pad the minutes and seconds with leading zeros, if required
	  currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
	  currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;

	  // Choose either "AM" or "PM" as appropriate
	  //var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";

	  // Convert the hours component to 12-hour format if needed
	  //currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;

	  // Convert an hours component of "0" to "12"
	  currentHours = ( currentHours == 0 ) ? 12 : currentHours;


		var DayToday = currentDateTime.getDay();
		var strDay = '';

		switch(DayToday)
		{
			case 0: strDay = 'NIEDZIELA, '; break;
			case 1: strDay = 'PONIEDZIAŁEK, '; break;
			case 2: strDay = 'WTOREK, '; break;
			case 3: strDay = 'ŚRODA, '; break;
			case 4: strDay = 'CZWARTEK, '; break;
			case 5: strDay = 'PIĄTEK, '; break;
			case 6: strDay = 'SOBOTA, '; break;
		}

		var MonthToday = currentDateTime.getMonth();
		var strMonth = '';

		switch(MonthToday)
		{
			case 0: strMonth = 'STYCZNIA '; break;
			case 1: strMonth = 'LUTEGO '; break;
			case 2: strMonth = 'MARCA '; break;
			case 3: strMonth = 'KWIETNIA '; break;
			case 4: strMonth = 'MAJA '; break;
			case 5: strMonth = 'CZERWCA '; break;
			case 6: strMonth = 'LIPCA '; break;
			case 7: strMonth = 'SIERPNIA '; break;
			case 8: strMonth = 'WRZEŚNIA '; break;
			case 9: strMonth = 'PAŹDZIERNIKA '; break;
			case 10: strMonth = 'LISTOPADA '; break;
			case 11: strMonth = 'GRUDNIA '; break;
		}

	  // Compose the string for display
	  var currentDateTimeString = strDay + currentDateTime.getDate() + " " + strMonth + currentDateTime.getFullYear() + ", " + currentHours + ":" + currentMinutes + ":" + currentSeconds;// + " " + timeOfDay;

	  // Update the time display
	  document.getElementById("date").firstChild.nodeValue = currentDateTimeString;
}
