code: public static String formatDateDifference(Date d1, Date d2) {
  		long[] td = DateHelper.getTimeDifference(d1, d2);
  		if (td[0] > 0) {
  			return td[0] + " day(s), " + td[1] + " hour(s)";
  		}
  		if (td[1] > 0) {
  			return td[1] + " hour(s), " + td[2] + " minute(s)";
  		}
  		if (td[2] > 0) {
  			return td[2] + " minute(s), " + td[3] + " second(s)";
  		}
  		return td[3] + " second(s)";
  	}
docs: Calculates a human readable date/time difference.
  
  @param d1
  a starting date
  @param d2
  an end date
  @return a string which reads like x days, y hours, z minutes ...