	function GetTodaysDayAndDate(){
    var oDate = new Date();
    var iDay = oDate.getDay();
    var sDay;
 
    switch (iDay){
        case (0) :{sDay = "Sunday"; break;}
        case (1) :{sDay = "Monday"; break;}
        case (2) :{sDay = "Tuesday"; break;}
        case (3) :{sDay = "Wednesday"; break;}
        case (4) :{sDay = "Thursday"; break;}
        case (5) :{sDay = "Friday"; break;}
        case (6) :{sDay = "Saturday"; break;}
    }
    var sDate = (oDate.getMonth()+1) + "/" + oDate.getDate() + "/" + oDate.getYear()
    return sDay + ", " + sDate;
	}

	function GetTimeLong(){
	    var oDate = new Date();
	    var iHour = oDate.getHours();
	    var sAmPm;
	    var min2digits
    
	    if (oDate.getMinutes() < 10)
	    {
	    min2digits = ("0" + oDate.getMinutes())
	    }
	    else
	    {
	    min2digits = oDate.getMinutes()
	    }
	 
	    if ((iHour < 12) || (iHour == 0))
	    {
	        sAmPm = "AM";
	    }
	    else if (iHour == 12)
	    {
	    	sAmPm = "PM"
	    }
	    else
	    {
	        iHour = iHour - 12;
	        sAmPm = "PM";
	    }

	if (iHour == 0)
	{
		iHour = 12
	}

	    var sTime = iHour + ":" + min2digits + " " + sAmPm;
	    return sTime;
	}

		document.write(GetTodaysDayAndDate()+" "+GetTimeLong())
