    function displayTime(){
      var today=new Date()
      var thisDay=today.getDay()
      var myDays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
      var currentDate = new Date()
      var day = currentDate.getDate()
      var month = currentDate.getMonth()
      var year = currentDate.getFullYear()

      var currentTime = new Date()
      var hours = currentTime.getHours()
      var minutes = currentTime.getMinutes()
      var seconds = currentTime.getSeconds()
      var suffix = "AM";

      month = month + 1;
      
      if (hours >= 12) {
        suffix = "PM";
        hours = hours - 12;
      }

      if (hours == 0) {
        hours = 12;
      }

      if (hours < 10){
        hours = "0" + hours;
      }

      if (minutes < 10){
        minutes = "0" + minutes;
      }

      if (seconds < 10){
        seconds = "0" + seconds;
      }
      document.getElementById('timebox').innerHTML = "<b>" + myDays[thisDay] + ', ' + month + "/" + day + "/" + year + " - " + hours + ":" + minutes + ":" + seconds + " " + suffix + "</b>";
    }

