function timeStamp(){
  var this_month = new Array();
      this_month[0]  = "January";
      this_month[1]  = "February";
      this_month[2]  = "March";
      this_month[3]  = "April";
      this_month[4]  = "May";
      this_month[5]  = "June";
      this_month[6]  = "July";
      this_month[7]  = "August";
      this_month[8]  = "September";
      this_month[9]  = "October";
      this_month[10] = "November";
      this_month[11] = "December";
  var this_dayname = new Array();
      this_dayname[0] = "Sunday";
      this_dayname[1] = "Monday";
      this_dayname[2] = "Tuesday";
      this_dayname[3] = "Wednesday";
      this_dayname[4] = "Thursday";
      this_dayname[5] = "Friday";
      this_dayname[6] = "Saturday";
  var today = new Date();
  var daynum = today.getDay();
  var day = today.getDate();
  var month = today.getMonth();
  var year = today.getYear();
    year <= 100 ? year += 1900 : 0;
  var time = today.getHours();
    if (time >= 12){
      if (time > 12){time -= 12;}
      today.getMinutes() < 10 ? time = time+":0"+today.getMinutes()+" PM" : time = time+":"+today.getMinutes()+" PM";
    }else{
      if (time == 0){time = 12;}
      today.getMinutes() < 10 ? time = time+":0"+today.getMinutes()+" AM" : time = time+":"+today.getMinutes()+" AM";
    }
  return(this_dayname[daynum]+", "+this_month[month]+" "+day+", "+year+" "+time);
}
