code: function getDisplayDate(date) {
          var monthStrings = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
  
          date = new Date(date);
  
          var hours = date.getHours();
          if (hours < 10) {
              hours = "0" + hours.toString();
          }
          var mins = date.getMinutes();
          if (mins < 10) {
              mins = "0" + mins.toString();
          }
  
          return monthStrings[date.getMonth()] + " " + date.getDate() + ", " + date.getFullYear() +
              " - " + hours + ":" + mins + " " + (date.getUTCHours() < 12 ? "AM" : "PM");
      }
docs: Create easy to read date format.