public QuizHistory(int theScore, Time theTime, String theUser, Date whenWasTaken, int theUserID, String theQuizName, int theQuizID) {
		score = theScore;
		time = theTime;
		user = theUser;
		whenTaken = whenWasTaken;
		userID = theUserID;
		quizName = theQuizName;
		quizID = theQuizID;
		
		DateFormat dateInstance = SimpleDateFormat.getDateInstance();
		SimpleDateFormat timeFormat = new SimpleDateFormat("hh:mm aaa");
		formattedWhenTaken = dateInstance.format(whenWasTaken) + " at " + timeFormat.format(whenWasTaken);
	}