code: function formatDate ( date ) {
  			return weekdays[date.getDay()] + ", " +
  				date.getDate() + nth(date.getDate()) + " " +
  				months[date.getMonth()] + " " +
  				date.getFullYear();
  		}
docs: Create a string representation of the date.