public ArrayList<Photo> getPhotosByDate(String startDate, String endDate) throws ParseException {
		Date start = new SimpleDateFormat("MM/dd/yyyy-HH:mm:ss").parse(startDate);
		Date end = new SimpleDateFormat("MM/dd/yyyy-HH:mm:ss").parse(endDate);
		ArrayList<Photo> photos = new ArrayList<Photo>();
		Collection<Album> albums = GuiView.control.getCurrentUser().getAlbumList().values();
		ArrayList<Album> a = new ArrayList<Album>(albums);
		for (int x = 0; x < a.size(); x++) {
			Collection<Photo> photoCollection = a.get(x).getPhotoList().values();
			ArrayList<Photo> p = new ArrayList<Photo>(photoCollection);
			for (int y = 0; y < p.size(); y++) {
				if (p.get(y).getDate().after(start) && p.get(y).getDate().before(end))
					photos.add(p.get(y));
			}
		}
		DateComparator dc = new DateComparator();
		Collections.sort(photos, dc);
		return photos;
	}